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-12-06 12:10:54 Ihtisham
@educated: nope,just for fun...
u have to guess the number,once u submit a number in the textbox,, output is of the form nAmB then n stands for number of digits that are in the correct place....and m stands for digits that are present in the required number but in the wrong place... u have to keep on submitting a number until the n value goes to 5... when n=1 means that 1 of ur digits match the digit that computer genrated and so on for 2,3..

Last edit: 2011-12-06 12:12:25
2011-12-06 11:49:38 sri
is the problem knowledge oriented??
but could not even understand the resutl format, help me in understanding result.
2011-10-08 16:11:50 Ashwin Menon
oops.

Last edit: 2011-10-08 16:12:55
2011-08-22 18:33:16 BOND
cadbury :P
2011-08-22 17:33:55 Ziyao Wei
There are bugs: 211111 0A0B 302495 0A6B
2011-08-17 15:41:49 avinash choudhary
@all:u ain't gettting any chocolates by posting here..:P
2011-08-08 13:38:10 .
refreshed....:)
2011-08-06 06:51:42 shahbaz khan
what means 1A1B?
plz tell me

2011-08-05 22:43:42 Sourabh Jain
0A0B means only "one" digit is correct..
2011-07-06 04:46:01 Vinh Nguyen
The number you guessed just now was 111111.

And the result is 0A0B.
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.