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 1325. Dirt

wa 16 give me test please
Posted by Baurzhan 10 Aug 2009 22:20
i got wa on 16 please give me test# 16, i don't know where my mistake: size of heap and arrays are enough.
Re: wa 16 give me test please
Posted by IgorKoval(from Pskov) 21 Dec 2011 18:16
I get WA 16 too. =)

I don't know your mistake, but my mistake is ... I use "short". Never use "short"! Use "long" or "__int64". =)

Max. count of "boots changes" == 500*500 > 32000. It's funny. =)