Codeforces judge giving wrong output for my code

Revision en2, by rinku11, 2021-12-16 20:00:50

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

Tags implemention

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English rinku11 2021-12-16 20:29:58 119
en4 English rinku11 2021-12-16 20:24:19 977
en3 English rinku11 2021-12-16 20:17:02 960
en2 English rinku11 2021-12-16 20:00:50 73
en1 English rinku11 2021-12-16 19:59:10 346 I checked thoroughly but I couldn't find the error (published)