GUESSING - Number Guessing Game


Please login first to view this problem. :-)


hide comments
Ihtisham: 2011-12-06 12:10:54

@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
sri: 2011-12-06 11:49:38

is the problem knowledge oriented??
but could not even understand the resutl format, help me in understanding result.

Ashwin Menon: 2011-10-08 16:11:50

oops.

Last edit: 2011-10-08 16:12:55
BOND: 2011-08-22 18:33:16

cadbury :P

Ziyao Wei: 2011-08-22 17:33:55

There are bugs: 211111 0A0B 302495 0A6B

avinash choudhary: 2011-08-17 15:41:49

@all:u ain't gettting any chocolates by posting here..:P

.: 2011-08-08 13:38:10

refreshed....:)

shahbaz khan: 2011-08-06 06:51:42

what means 1A1B?
plz tell me

Sourabh Jain: 2011-08-05 22:43:42

0A0B means only "one" digit is correct..

Vinh Nguyen: 2011-07-06 04:46:01

The number you guessed just now was 111111.

And the result is 0A0B.


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