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 1019. Line Painting

crash in test 12
Posted by I m in love 4 Jan 2007 21:48
any one can help me? I don't know why my program crash in test 12,i have tried many tests but i have'nt found any mistake
Re: crash in test 12
Posted by partisan (Andrey Korotkov) 7 Nov 2007 15:44
Are you using segment trees? Maybe you have a little array. There are 2*n elements, not n, so there is about 33000 nodes needed. At first I used 17000 and got crash #12.