ENG
RUS
Timus 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
1031
. Railway Tickets
I got TLE ,who can help me?I use DP.
Posted by
wangchun
13 May 2004 19:20
Probably, that your DP is O(N^2). Try to make it in O(3N).
Posted by
Vlad Veselov
14 May 2004 16:22
© 2000–2024
Timus Online Judge Team
. All rights reserved.