ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1877. Bicycle Codes

What's the meaning of the problem??
Posted by zhao kai 3 Nov 2012 07:39
How did the thief steal the bicycle ?I'm not pretty sure.   Is there some one telling me ?
Re: What's the meaning of the problem??
Posted by Erick Wilts 21 Jun 2014 17:40
The thief steals the bicycle if he opens the lock, that is, if the code he tries is the same as the code for the lock.
Re: What's the meaning of the problem??
Posted by Deepto Shome Pritom 4 Feb 2017 21:06
Test 1:
Den's keys: 0001
            0000

           1st night   2nd night   3rd night  4th night  ... ... ...    All nights

bike's key 0001        0000        0001       0000                      -

bad man    0000        0001        0003       0004                      -

result     no          no          no         no                        no

Test 2:
Den's keys: 0002
            0001

           1st night   2nd night   3rd night  4th night  ... ... ...    All nights

bike's key 0002        0001        0002       0001                      -

bad man    0000        0001        0003       0004                      -

result     no          yes         no         no                        yes

In the first test all nights result is "no". That why in the first test result is no.
Re: What's the meaning of the problem??
Posted by Ratnadeep Nandi 17 Jul 2019 00:24
Thanks a lot for the explanation.