Humonculus's blog

By Humonculus, history, 5 years ago, In English

In this problem: https://codeforces.net/contest/263/problem/A it's giving me a run-time error exit code 1 though the code runs perfectly on Jupyter Notebook. any thoughts? here's my submission: https://codeforces.net/contest/263/submission/75748808

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

| Write comment?
»
5 years ago, # |
  Vote: I like it +10 Vote: I do not like it
  1. Codeforces doesn't have the numpy library for Python (which is the cause of your runtime error).
  2. In cases where you are able to view the full test case, use the custom invocation feature to check out the cause of the error yourself instead of posting a blog about your problem.
»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I don't use Python for CP at all, but I wouldn't expect CF to run python with numpy available. My guess is that importing it results in RE.