ishan_luhani's blog

By ishan_luhani, history, 6 months ago, In English

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

Problem Link:

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:

Is there a trick in python I am missing?

  • Vote: I like it
  • 0
  • Vote: I do not like it

6 months ago, # |
Rev. 2   Vote: I like it +8 Vote: I do not like it

You can only use the standard libraries that are part of "vanilla" python in codeforces. Third party libraries like numpy, pandas are not supported. Since you are not using the imported pandas library in your code, remove the import and try again.

  • »
    6 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    The code didn't get accepted due to some mistake in my implementation. But your solution to remove pandas worked.