← Back to topics
Topic

bankomati TLE

h
hendrik
Hi guys,
Help...me...someone who has got AC....

is there any optimization u could give me to make my program run in time...?

source code: http://www.z-trening.com/new/www/html/submit.php?submit=7100049189&subm_code=1
h
hendrik
hello... can someone help me... please
d
dimke
Try to speedup greedy :)
D
Dgleich
Try Increasing Dp array to 3500000
d
dimke
There's no need to, 1000001 is enough
h
hendrik
oh thx
i will try it....

edit: finally AC fiuh thx a lot guys for ur suggestions
d
dimke
np :)