|
+9
I misunderstand that he said div1C is different from div2E. |
|
-13
what's the difference? |
|
0
Can you explain this one? A shorter solution. https://codeforces.me/blog/entry/105164?#comment-935234 |
|
+12
I found another more elegant solution, but I don't know why it works. |
|
0
let '(' be 1, ')' be -1, then a parentheses sequence is regular iff the prefix sum off this sequence is nonnegtive at every position and the sum is zero. You can use this conclusion to proof the correctness. |
|
0
|
|
+1
How to solve problem F? |