Hi all, what are some good algorithms/concepts to learn to get better at graph problems? I can usually tackle most tree problems since most of them rely on some form of modified DFS/BFS, but struggle with anything beyond that.
# | User | Rating |
---|---|---|
1 | tourist | 3764 |
2 | slime | 3592 |
3 | maroonrk | 3535 |
4 | Benq | 3513 |
5 | jiangly | 3509 |
6 | ecnerwala | 3508 |
7 | MiracleFaFa | 3466 |
8 | ksun48 | 3452 |
9 | Um_nik | 3426 |
10 | greenheadstrange | 3393 |
# | User | Contrib. |
---|---|---|
1 | awoo | 192 |
2 | -is-this-fft- | 191 |
3 | Monogon | 184 |
4 | YouKn0wWho | 182 |
4 | Um_nik | 182 |
6 | antontrygubO_o | 171 |
7 | maroonrk | 169 |
8 | kostka | 165 |
9 | SecondThread | 164 |
9 | errorgorn | 164 |
Hi all, what are some good algorithms/concepts to learn to get better at graph problems? I can usually tackle most tree problems since most of them rely on some form of modified DFS/BFS, but struggle with anything beyond that.
Hi all, I'm getting a runtime error while trying to submit my solution for 1588C - Game with Stones which I cannot replicate on the custom invocation tab or locally in vscode. Any help debugging this would be very appreciated.
My code submission: 135533102
UPDATE: I was able to edit the logic for modifying the map to get A/C but unable to see what the issue was. New submission- 135560689
I'm getting a runtime error when i submit my code using C++ 17, but the same code is accepted for C++ 17 64 bit. I usually make all my submissions with C++17, so I'm interested in figuring out which line is causing runtime error.
Problem: https://codeforces.com/contest/1538/problem/E
RTE (C++17): https://codeforces.com/contest/1538/submission/123976702
Accepted (C++17 64bit): https://codeforces.com/contest/1538/submission/123976695
Name |
---|