2008年10月的一道
题目如下:
at a certain hospital ,89children were born in the month of june .if more children were born on the fifteeth of june than on any other day in june ,what is the least number of children that could have been born on the fifteenth of june?求算法,答案是4
答案解析:
如果是1,不可能
; }4 X7 Q& X% f! q如果是2,不可能
) L8 K8 q, U5 t# k b, V) b; I如果是3,不可能
- Q' [4 J5 g' o d# }& w如果是4,bingo!