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 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | cry | 161 |
2 | maomao90 | 160 |
3 | awoo | 159 |
4 | atcoder_official | 157 |
5 | -is-this-fft- | 155 |
5 | nor | 155 |
5 | adamant | 155 |
8 | maroonrk | 152 |
8 | Um_nik | 152 |
10 | Petr | 146 |
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
Name |
---|
Auto comment: topic has been updated by nyomanganadipa (previous revision, new revision, compare).
Auto comment: topic has been updated by nyomanganadipa (previous revision, new revision, compare).
test cases arent strong enough
What is meant by strong & weak test cases ?? I'm beginner & have heard this on many other platforms as well. Can you explain ?
a test case is strong when it makes your solution run in worst case time complexity
Ah, Ok. Thanks !!