Codeforces judge giving wrong output for my code

Правка en5, от rinku11, 2021-12-16 20:29:58

Here is the question link which I solved-:https://codeforces.com/contest/1617/problem/A Here is my submission code-:https://codeforces.com/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.

Теги implemention

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский rinku11 2021-12-16 20:29:58 119
en4 Английский rinku11 2021-12-16 20:24:19 977
en3 Английский rinku11 2021-12-16 20:17:02 960
en2 Английский rinku11 2021-12-16 20:00:50 73
en1 Английский rinku11 2021-12-16 19:59:10 346 I checked thoroughly but I couldn't find the error (published)