Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

The code works in my ide but not in codeforces

Revision en1, by ishan_luhani, 2023-12-02 16:28:03

Hello everyone, I am facing a problem with a Problem.

Problem Link: https://mirror.codeforces.com/problemset/problem/1547/C

When I tried to submit my Python Code. It failed due to RunTime Error, But the same input provides the required correct output in my local ide. Please guide me through.

My Solution Link: https://mirror.codeforces.com/contest/1547/submission/235386393

Is there a trick in python I am missing?

Tags help, python3

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English ishan_luhani 2023-12-02 16:28:03 459 Initial revision (published)