Different results on different languages.

Revision en1, by anayush_py, 2023-08-07 10:25:17

I want to know why my code gets different verdicts in different languages. When I upload my code using GNU C++20 (64), GNU C++17, or GNU C++17 (64) then I am getting "Wrong ans of test 1". But when I use Clang++17 Diagnostics or Clang++20 Diagnostics, the verdict is "Accepted". I used GNU C++20 (64) before and it used to be accepted but nowadays it doesn't. Please help!. Below is the submission link.

Code Submission

Tags gcc, c/c++, gnu c++, wrong answer, different compilers, clang

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English anayush_py 2023-08-07 10:25:17 523 Initial revision (published)