Codeforces judge giving wrong output for my code

Revision en5, by 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.

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)