Hi, I'm kindly asking, how does this submission* can pass the test, meanwhile the worst case scenario can be O(N*Q)?
submission: https://codeforces.net/contest/2002/submission/275820009
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3773 |
3 | Radewoosh | 3646 |
4 | ecnerwala | 3624 |
5 | jqdai0815 | 3620 |
5 | Benq | 3620 |
7 | orzdevinwang | 3612 |
8 | Geothermal | 3569 |
8 | cnnfls_csy | 3569 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | Um_nik | 163 |
2 | cry | 161 |
3 | maomao90 | 160 |
4 | -is-this-fft- | 159 |
5 | awoo | 158 |
6 | atcoder_official | 157 |
7 | adamant | 155 |
7 | nor | 155 |
9 | maroonrk | 152 |
10 | Dominater069 | 148 |
10**9 computation can pass the test?
Hi, I'm kindly asking, how does this submission* can pass the test, meanwhile the worst case scenario can be O(N*Q)?
submission: https://codeforces.net/contest/2002/submission/275820009
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en3 | nyomanganadipa | 2024-08-26 00:10:45 | 4 | Tiny change: '* can passed the test,' -> '* can pass the test,' | ||
en2 | nyomanganadipa | 2024-08-26 00:07:33 | 97 | |||
en1 | nyomanganadipa | 2024-08-26 00:07:03 | 178 | Initial revision (published) |
Name |
---|