artworks's blog

By artworks, history, 4 years ago, translation, In English

Why it is getting "Exit code is -1073741819" in my submission, https://codeforces.com/contest/1269/submission/67523013 ? Locally there is no error. Python 3.8.0. How to get the real exception?

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

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

If a program is crashing on Codeforces but not locally, a good way to debug this is by testing it on the custom invocation tab. In your case, commenting out

import unittest

does the trick. Codeforces probably doesn't support the module.