fromis_9   3년 전

문제 원문에서의 Output은

Generate a line of output for each telephone number that appears more than once in any form. The
line should give the telephone number in standard form, followed by a space, followed by the number
of times the telephone number appears in the directory. Arrange the output lines by telephone number
in ascending lexicographical order. If there are no duplicates in the input print the line:
No duplicates. 

입니다.  그러나 BOJ 4137번 문제에서 출력은

Generate a line of output for each telephone number that appears more than once in any form. The line should give the telephone number in standard form, followed by a space, followed by the number of times the telephone number appears in the directory. Arrange the output lines by telephone number in ascending lexicographical order. If there are no duplicates in the input print the line:

로 명시되어 있습니다. 즉,  중복이 없을 시에 "No duplicates."를 출력하라는 조건이 누락되었습니다.

startlink   3년 전

수정했습니다.

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