I have difficulty solving 2D, but if I can solve 2D stably, I'll surely get higher rating and coding level.
So I want to know how to solve 2D (During the contests) stably, thx for help.
Also, you can tell me which algorithms are needed, I'll try to learn them soon.