Atcoder Problem C (SWITCH)

Revision en1, by iamskp, 2020-07-29 15:59:02

I was doing this problem from Atcoder : https://atcoder.jp/contests/abc128/tasks/abc128_c

Can someone please explain the solution?

I have seen the editorial but couldn’t understand it.

Solution link: https://atcoder.jp/contests/abc128/submissions/15518338 (Python)

Solution link: https://atcoder.jp/contests/abc128/submissions/5640467 (C++)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English iamskp 2020-07-29 15:59:02 378 Initial revision (published)