can anyone see why my code get TLE , is there other way to solve this problem on atCoder ?↵
problem : https://atcoder.jp/contests/abc241/tasks/abc241_d↵
my submission : https://atcoder.jp/contests/abc241/submissions/469548927086880
problem : https://atcoder.jp/contests/abc241/tasks/abc241_d↵
my submission : https://atcoder.jp/contests/abc241/submissions/4