ENG
RUS
Timus 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
1587
. Flying Pig
If you have WA-17
Posted by
Svyatoslav [Vologda Multiple-Discipline Lyceum]
8 Sep 2009 00:47
Try this test
8
-1 0 -1 -3 -2 1 2 1
right answer is 12.
15
-1 2 2 1 -1 2 3 -3 2 2 -2 2 -2 0 0
right answer is 2304
15
-1 -3 -2 0 -1 2 -1 -2 1 2 0 -2 0 0 2
right answer is 8
© 2000–2024
Timus Online Judge Team
. All rights reserved.