Armegadon's blog

By Armegadon, history, 2 months ago, In English,

In this problem: https://codeforces.com/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.com/contest/263/submission/75748808

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

»
2 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Armegadon (previous revision, new revision, compare).

»
2 months 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.
»
2 months 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.