GUESSING  Number Guessing Game
Please login first to view this problem. :)
hide comments
roni_roy18:
20190603 08:00:58
Good Fun:) 

riyadhrazzaq:
20181002 17:49:41
I guessed the number using brute force. Can someone explain why this is tagged "binarysearch" ? How do I solve it using binary search ? 

jyotiradityafc:
20180828 19:40:23
Suppose the answer is 121565. In this case, the display will be "6A4B" as all positions are correct hence "6A" and as you can see 1st '1' for 3rd place is wrong, 3rd '1' for 1st place is wrong. Similarly, 4th '5' for 6th place is wrong, 6th '5' for 4th place is wrong but numbers are correct hence "4B".


slinky:
20180701 20:36:48
0..5 = {0,1,2,3,4,5} = indices of the digits of the guessed and correct number. For example guess[2] is the 3rd digit of guessed number. 

kaushalag29:
20180701 11:36:12
Loved guessing it! 

ram777:
20180218 15:07:46
i heard this words from jack ma Last edit: 20180218 15:08:11 

hitesh87:
20171218 19:08:38
Fun activity ;p 

alexandro5432:
20170926 14:40:30
Very hard problem i think the solution must be O(n*n) 

aronzx:
20170824 08:26:19
Very different and fun problem. 

rajni_iit96:
20170811 07:26:40
interesting :) 
Added by:  Bin Jin 
Date:  20080526 
Time limit:  0.100s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  TEXT 
Resource:  the (first?) "interactive" problem on SPOJ 