Please read the new rule regarding the restriction on the use of AI tools. ×

I am getting run time error for a code but it runs on an online compiler

Revision en1, by Vampire04, 2024-09-24 15:41:42

282767937

Problem link:https://codeforces.net/contest/1879/problem/A On submitting the code, I got run time error on test case 2 but I ran the same code on an online compiler and was able to get the output. Kindly point out my errors and help me rectify them. Thank You.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Vampire04 2024-09-24 15:41:42 360 Initial revision (published)