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 1738. Computer Security

I don't understand
Posted by Eugene Mikhalevskiy 1 Nov 2009 15:55
Why is answer 0 0 2 1 ?
Re: I don't understand
Posted by Ras Misha [t4ce] 3 Nov 2009 21:11
Yes, why 0 0 2 1???

Edited by author 03.11.2009 21:14
Re: I don't understand
Posted by melkiy 4 Nov 2009 03:00
Because
1) There are 0 pairs of employees whose pin-codes are different at 1 position.
2) There are 0 pairs of employees whose pin-codes differ at 1 position.
3) There are 2 pairs of employees (1 and 2, 1 and 3) whose pin-codes differ at 3 positions
4) There is 1 pair of employees (2 and 3) whose pin-codes differ at all 4 positions.
Re: I don't understand
Posted by Ras Misha [t4ce] 4 Nov 2009 14:15
Thank you melkiy
I have AC now+)

Edited by author 04.11.2009 14:15