Codeforces judge giving wrong output for my code

Правка en2, от rinku11, 2021-12-16 20:00:50

Here is the question link which I solved-:https://codeforces.me/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.

Теги 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)