Runtime Error 질문입니다.

visitor Reply 5 years 19 weeks ago
어느 부분에서 runtime error가 발생하는지 발견하지 못해서 질문 드립니다.
Hyunwoo Reply 5 years 19 weeks ago
제출하신 코드의 15라인에서 배열을 벗어나는 index에 접근하여 runtime error가 생깁니다. for(i=0; i<p_num; i++){ s[i] = input.nextLine(); }
visitor Reply 5 years 19 weeks ago
감사합니다