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
1007
. Code Words
Hakkinen
If you TLE on #3
[2] // Problem
1007. Code Words
24 Jan 2009 10:17
May be your program is O(n^2)
you can use an array.
f[i] means there are f[i] '1' after s[i].
(I can't speak English well.)
melkiy
Re: If you TLE on #3
[1] // Problem
1007. Code Words
12 Oct 2009 02:17
No additional array is required. Only several auxiliary variables.
KHU$R@V
Re: If you TLE on #3
// Problem
1007. Code Words
31 Dec 2013 22:26
© 2000–2026
Timus Online Judge Team
. All rights reserved.