Here is the question link which I solved-:https://codeforces.me/contest/1617/problem/A Here is my submission code-:https://codeforces.me/contest/1617/my After going to this link plz go to the latest submission to see my code.
This code works fine in all other IDE (CodeChef,VsCode,Hackerrank) .But when I submit my code on codeforces running contest it gives me errors. Plz, anybody help me out.