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 1804. The Machinegunners in a Playoff

Hint
Posted by Moonstone [Samara SAU] 31 Oct 2010 14:37
You should add this to get AC:

if (ans < 0) ans = 0;
if (ans > 30) ans = 30;