Was solving Atcoder D from yesterday's round. couldnt solve it got wa multiple times . I couldnt understand editorial even. can someone please help ? Problem link-> https://atcoder.jp/contests/abc403/tasks/abc403_d
Was solving Atcoder D from yesterday's round. couldnt solve it got wa multiple times . I couldnt understand editorial even. can someone please help ? Problem link-> https://atcoder.jp/contests/abc403/tasks/abc403_d
I got 3 TLEs and 2 REs for not noticing d = 0. Instead just trying to optimize the DP. Cost me 30 mins and 6 penalties