the problem is http://codeforces.com/contest/513/problem/C
the solution is http://codeforces.com/contest/513/submission/9761274
i wonder how this solution not TLE it is 1009*1009*6*6*6 which is TLE
# | User | Rating |
---|---|---|
1 | Radewoosh | 3759 |
2 | orzdevinwang | 3697 |
3 | jiangly | 3662 |
4 | Benq | 3644 |
5 | -0.5 | 3545 |
6 | ecnerwala | 3505 |
7 | tourist | 3486 |
8 | inaFSTream | 3478 |
9 | maroonrk | 3454 |
10 | Rebelz | 3415 |
# | User | Contrib. |
---|---|---|
1 | adamant | 173 |
2 | awoo | 168 |
3 | nor | 163 |
3 | SecondThread | 163 |
5 | BledDest | 162 |
5 | Um_nik | 162 |
7 | maroonrk | 161 |
8 | -is-this-fft- | 150 |
9 | Geothermal | 146 |
10 | TheScrasse | 143 |
what is the complexity for this dp solution !!??
the problem is http://codeforces.com/contest/513/problem/C
the solution is http://codeforces.com/contest/513/submission/9761274
i wonder how this solution not TLE it is 1009*1009*6*6*6 which is TLE
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en2 |
![]() |
_QWOiNYUIVMPFSBKLiGSMAP_ | 2018-02-19 09:57:56 | 1108 | ||
en1 |
![]() |
_QWOiNYUIVMPFSBKLiGSMAP_ | 2018-02-19 09:55:56 | 1310 | Initial revision (published) |
Name |
---|