Блог пользователя Humonculus

Автор Humonculus, история, 5 лет назад, По-английски

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

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +10 Проголосовать: не нравится
  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 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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.