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 1147. Shaping Regions

What is the correct answer for this test?
Posted by Alexey 28 Jun 2006 22:17
1003 1003 1000
1 2 1002 3 2
2 1 3 1002 3
1 4 1002 5 2
4 1 5 1002 3
1 6 1002 7 2
6 1 7 1002 3
1 8 1002 9 2
8 1 9 1002 3
...
1 992 1002 993 2
992 1 993 1002 3
1 994 1002 995 2
994 1 995 1002 3
1 996 1002 997 2
996 1 997 1002 3
1 998 1002 999 2
998 1 999 1002 3
1 1000 1002 1001 2
1000 1 1001 1002 3

This test was in previous subject, but I don't know
the correct answer!
Mine is:
1 165320
2 34966
3 34214

P. S. I have WA#17 with no thoughts!

Thanks.
Re: What is the correct answer for this test?
Posted by ACM.Tolstobrov_Anatoliy[Ivanovo SPU] 28 Jun 2006 23:09

see hint

1003*1003=1006009
165320+34966+34214=234500

undestand when Wrong?
1 256009
2 375000
3 375000
P.S. maybe

or
1 252009
2 377000
3 377000
Re: What is the correct answer for this test?
Posted by Alexey 29 Jun 2006 00:04
Yeah...
I think it wasn't me sending that question!
Thanks, I'll work.
Re: What is the correct answer for this test?
Posted by shrek 8 Nov 2006 17:22
the correct answer :
1 255009
2 375250
3 375750