When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

xielianmdzs's blog

By xielianmdzs, history, 3 years ago, In English

Hello! This code is working fine locally, so I don't know why it's giving me the Exit code is 1 Runtime Error. Can anyone take a look? Thank you. https://codeforces.com/contest/1549/submission/124590082

  • Vote: I like it
  • -6
  • Vote: I do not like it

»
3 years ago, # |
  Vote: I like it +16 Vote: I do not like it

This is because of the library numpy

  • »
    »
    3 years ago, # ^ |
      Vote: I like it -10 Vote: I do not like it

    Thanks for your reply, but I think numpy is fine.

    • »
      »
      »
      3 years ago, # ^ |
        Vote: I like it +11 Vote: I do not like it

      Nope, no external library is installed on PyPy on Codeforces, even numpy. You can check this by writing import numpy as np in custom invocation.