12月将举办首届西电ACM新生赛,敬请期待~~~~
Xidian Online Judge WebBoard
[ New Thread ]
Problem 1007 >> 求解这组数据应该输出什么
14030140102 @ 2015-04-22 23:10:05
[ Quote ] [ Edit ] [ Delete ] 1#
2 6
3还是4
xry111 @ 2015-04-23 09:47:34
[ Quote ] [ Edit ] [ Delete ] 2#
3.
At first you can drop egg 1 at floor 3.
If it broke, you have to test 1, 2 with egg 2. The total count of tests is 3.
If it didn't break, you can drop egg 1 at floor 5. Then, if egg 1 didn't break again, drop it at floor 6. If egg 1 broke this time, drop egg 2 at floor 4.
So we can determine E in 3 drops.
14030140102 @ 2015-04-23 12:49:42
[ Quote ] [ Edit ] [ Delete ] 3#
thanks and orz......
adminlight @ 2015-04-23 20:46:57
[ Quote ] [ Edit ] [ Delete ] 4#
@xry111
Can u speak chinese? thanks and orz...
root @ 2015-04-24 13:31:51
[ Quote ] [ Edit ] [ Delete ] 5#
@xry111自己学校OJ何苦用英语....
[Top] [Previous Page] [Next Page]
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2014 Xidian ACM Online Judge TEAM
GPL2.0 2003-2014 HUSTOJ Project TEAM