https://codeforces.com/contest/1774/problem/C i tried going through the editorial but it went over my head so if anyone could , help me understand the idea behind this problem would be helpful .
doubt regarding Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) problem C .
https://codeforces.com/contest/1774/problem/C i tried going through the editorial but it went over my head so if anyone could , help me understand the idea behind this problem would be helpful .