for CSES Grid Path why does this get TLE but this get AC while the only difference between them is that in the first one a lambda function is used but in the second one a normal function instead? Or is there other differences that I`m missing?
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3821 |
3 | Benq | 3736 |
4 | Radewoosh | 3631 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3388 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 161 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
for CSES Grid Path why does this get TLE but this get AC while the only difference between them is that in the first one a lambda function is used but in the second one a normal function instead? Or is there other differences that I`m missing?
I know it takes a lot of effort to write a contest and I appreciate the hard work of writers but there was something odd with today's contest or I just screwed this one up or both. idk
I have the newest version of vs code but my compiler is c++14. (when I code "cout<<__cplusplus;" gives "201402".)
how can I fix it?
does anybody know what the problem with this code? (runtime error!!) Your text to link here...
Name |
---|