Here is the question link which I solved-:https://mirror.codeforces.com/contest/1617/problem/A Here is my submission code-:https://www.codechef.com/ide?itm_medium=navmenu&itm_campaign=ide 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.