Question: https://atcoder.jp/contests/abc173/tasks/abc173_c I have written this code and I\'m getting out of bounds error, gave many hours to debug but can\'t figure it out.