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 1003. Parity

i want to know whether there exits this data?
Posted by yejinru 4 Sep 2012 17:31
10
6
1 2 even
1 1 even
3 4 odd
5 6 even
1 6 even
7 10 odd

i think the answer of this data should be 1,but my program answer is 4 but it return an accepted!
Re: i want to know whether there exits this data?
Posted by 100919CN 19 Nov 2012 20:43
why?i think 4 is correct.
Re: i want to know whether there exits this data?
Posted by rizzin 22 Jan 2019 11:08
"1 2 even" -> first 2 digits are 00 or 11
"1 1 even" -> first digit is 0. So if first 2 digits are 00, everything is ok