GUESSING - Number Guessing Game

Please login first to view this problem. :-)


Added by:Bin Jin
Date:2008-05-26
Time limit:0.100s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:TEXT
Resource:the (first?) "interactive" problem on SPOJ

hide comments
2011-06-07 04:44:09 Saad Ahyat Hasan
Yeah, in the end i can solve this problem after trying more than 5 times :D

*Note : To solve this problem, you must trying to guess the number until you get the right number*
2011-06-07 04:44:09 stefanus
I LIKE CHOCHOLATE
2011-06-07 04:44:09 Tornike Mandzulashvili


Last edit: 2010-11-14 15:06:36
2011-06-07 04:44:09 Luluk Eko Mawati
I'm still not understand with this problem.. any body help to explain?
2011-06-07 04:44:09 Pranay
comments really helped , thanks :)
2011-06-07 04:44:09 yyf
submit the sentence,not the number
2011-06-07 04:44:09 anon
Tip: to do the final submit, use the Submit link in the menu, not the button
2011-06-07 04:44:09 Sandytea
An interesting problem. I only spent a few minites on it.
2011-06-07 04:44:09 Core2Duo
I had to read the forums to clearly understand this problem.
You have to keep guessing and based on the values of A and B you get, you can improve your guess. Finally, when you fully solve this problem (i.e correctly guess the number), you will get the instruction about what text to submit.
You do not have to write any code for this problem.
Also here, i from 0 to 5 indicate the 6 bits in the number.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.