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 1073. Square Country

Add tests please
Posted by Fyodor Menshikov 5 Jan 2009 12:38
I know AC solution, that checks correctly for answers 1 and 2, but distinguishes answers 3 and 4 using simple test

if (n%8==7) {
   answer 4
} else {
   answer 3
}

One of tests that it not passes is 59996. It answers 3 while correct answer is 4. Please add some tests where n%8!=7 and answer is 4.
Re: Add tests please
Posted by Sandro (USU) 5 Jan 2009 18:27
Some new tests were added.
Re: Add tests please
Posted by VakH 2 Feb 2009 20:41
for example: N=28 or N=60;
good luck )