lovro-sinda's blog

By lovro-sinda, 11 years ago, In English

Can anyone please help me with my solution. Codeforces evaluator say that is crashed, but I can normaly test it.

Link: http://codeforces.net/contest/433/submission/6708852

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

| Write comment?
»
11 years ago, # |
Rev. 2   Vote: I like it +7 Vote: I do not like it

I think it's beaucase you declared two arrays [10001][10001] of long long. This means 1,5 GB of memory.

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

    Probably. If one tryes to allocate more then 2GB static memory, 32-bit gcc produce invalid executable file, but didn't give compile error. So mostly, testing system thinks compilation was ok, trys to run, and gets error, while executing. It looks like internal error, not run-time, so it's denial of judgment.