Solution Link : https://codeforces.me/contest/1486/submission/107850525
Can anyone find any TLE test case?
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | Kevin114514 | 3659 |
| 3 | jiangly | 3640 |
| 4 | turmax | 3450 |
| 5 | tourist | 3408 |
| 6 | strapple | 3360 |
| 7 | Um_nik | 3354 |
| 8 | squareOf105 | 3348 |
| 9 | maroonrk | 3312 |
| 10 | idontwannadothis…e | 3191 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 153 |
| 2 | nik_exists | 151 |
| 3 | maroonrk | 150 |
| 4 | maspy | 149 |
| 5 | AmShZ | 146 |
| 6 | Um_nik | 143 |
| 7 | Errichto | 139 |
| 8 | adamant | 135 |
| 9 | BledDest | 134 |
| 10 | cry | 130 |
Solution Link : https://codeforces.me/contest/1486/submission/107850525
Can anyone find any TLE test case?
| Название |
|---|



You are visiting the nodes with odd parity multiple times, without marking it visited or anything.
Simply a star graph centered at vertex 2, requires O(N^2) time according to your algorithm which causes TLE.
Orz. Thanks a lot for hacking.
Is Real_Father_Of_Ash an alt account of pritishn .Just asking cause you have the same template and a folder by his name.
wait ..what?! Why is he copying my template?!
That folder stuff wont work until he has -DZoro in his build script.
..
Looks like he is a big fan of you. :D
I just got heavily motivated and inspired by the japanese quote he has put on his template's first line. So, I used his template.
r/angryupvote
fishy.
15
fishy15