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 1161. Stripies

JAVA WA#15
Posted by ile 28 Oct 2010 10:24
Don't use any collections (TreeSet/HashSet/etc) (ArrayList might also be a problem)

looks like when they add/remove/update their elements they do some stuff to their elements, so that doubles change their magnitude.

u might also try to use YouOwnDouble class implements Comparable
Re: JAVA WA#15
Posted by master_j 29 Oct 2012 02:46
using collections gives AC so u r mad