← Back to topics
Topic

MaxSum

I
IgorHalilovic
@admin:
Take a look at MaxSum task... i
I have TLE just for reading input... 100 000 of longints in 0.1 s in pascal can't be done... Some help, please...

http://www.z-trening.com/submit.php?submit=7100073108&subm_code=1
F
FilipKeri
I think that your solution will pass if you read numbers like chars and then preform them into int, in some tasks that is helpful
d
dejandenib
It can be done. No need for char. Many people have solved it in pascal. Your algorithm is very complexed, this is a very simple task
I
IgorHalilovic
i did it too when there was old graders... but on new i can't... just to read it's too long, if i am reading integers...
d
dejandenib
I've tried my solution that passed on the old graders, but on this graders it is much slower and it doesn't pass. I'll inform admin about this. Very soon the time limit for pascal will be a little higher for all tasks