jaehoo1   3년 전

입력

The input consists of three lines. The first line consists of an integer N (1 < N ≤ 30), which is the number of students in the class. The second line contains the first names of the N students separated by single spaces...

first names에 대한 길이 제한이 명시되어 있지 않습니다.

jaehoo1   3년 전

추가로, 조건에 맞지 않는 데이터도 있는 것 같습니다.

N 범위도 확인해주세요.

AC 받은 코드(24211745)에 if(N==1)return -1; 구문만 넣었더니,

100퍼센트에서 RTE(24211800)가 납니다.

댓글을 작성하려면 로그인해야 합니다.