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 1100. Final Standings

Why realloc and vector cause TLE?(11 test again)
Posted by Гладких Максим 9 Jun 2005 17:51
This

[code deleted]

seem to need ~600Kb to store IDs but program trys to allocate ~1200Kb.

Edited by moderator 12.04.2006 14:37
I have the same problem.... Mine uses 1089 kb
Posted by SSS 6 Jan 2006 13:12
Re: I have the same problem.... Mine uses 1089 kb
Posted by Гладких Максим 12 Apr 2006 03:43
... cause we're idiots and shouldn't use dynamic memory