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 1501. Sense of Beauty

Sabbir Yousuf Sanny Problem B limits [3] // Problem 1501. Sense of Beauty 28 Oct 2006 14:58
3<=6N<=3000; Is this correct?
Tbilisi SU 3: Bogdanov, Lutsenko, Saghinadze Re: Problem B limits // Problem 1501. Sense of Beauty 28 Oct 2006 17:31
We have the same question.
With array of size 500 we have access violation. So n>500.
[bsu] LuPoVo Re: Problem B limits [1] // Problem 1501. Sense of Beauty 28 Oct 2006 18:24
n<=3000 - 100%
Igor Goroshko Re: Problem B limits // Problem 1501. Sense of Beauty 29 Oct 2006 00:31
Use array of 3000, but don't use "fillchar" in pascal, and "memset" in C, then you will get AC.