Question — https://codeforces.me/problemset/problem/161/D
Submission — https://codeforces.me/contest/161/submission/278555376
IMO, it should pass the time constraints. Am I missing something?
| # | User | Rating |
|---|---|---|
| 1 | jiangly | 3810 |
| 2 | Benq | 3676 |
| 3 | Kevin114514 | 3655 |
| 4 | maroonrk | 3463 |
| 5 | strapple | 3390 |
| 6 | Um_nik | 3387 |
| 7 | tourist | 3384 |
| 8 | heuristica | 3322 |
| 9 | turmax | 3319 |
| 10 | jiangbowen | 3291 |
| # | User | Contrib. |
|---|---|---|
| 1 | Qingyu | 156 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | Um_nik | 144 |
| 5 | Errichto | 139 |
| 6 | AmShZ | 137 |
| 6 | adamant | 137 |
| 8 | BledDest | 132 |
| 8 | maroonrk | 132 |
| 10 | qwexd | 129 |
Getting TLE for O(n*k) solution. Can someone help!
Question — https://codeforces.me/problemset/problem/161/D
Submission — https://codeforces.me/contest/161/submission/278555376
IMO, it should pass the time constraints. Am I missing something?
| Name |
|---|


