SRM 504 DIV1 500
In the tutorial he said Process the pairs of cells in upper from right to left ? why that's work when we process from right to left and doesn't work when we process from left to right can you explain more about that?Thanks!
Colin X Sam X Shayan | Easy Problems Duel | NAC Warmup #1
Codeforces Round 946 Solution Discussion