Runtime error on judge compilator.

Правка en2, от 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.

Теги #c++, mysterious runtime error

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский hqhs 2016-08-19 01:24:43 2
en1 Английский hqhs 2016-08-19 01:23:51 471 Initial revision (published)