Runtime error on judge compilator.

Revision en2, by hqhs, 2016-08-19 01:24:43

I'm getting runtime error, though code works fine on local computer.

First time then i tried to do it, i used vector of strings. And change the length of strings in input() method, what could possibly rellocate the memory (but still works fine on my local computer). Now i use 2d-array of char.

Here's the submission.

I've used search but still can't find the problem.

Tags #c++, mysterious runtime error


  Rev. Lang. By When Δ Comment
en2 English hqhs 2016-08-19 01:24:43 2
en1 English hqhs 2016-08-19 01:23:51 471 Initial revision (published)