oh040411   9달 전

지문에는 아래와 같이 people과 locations의 이름이 공백 또는 탭으로 구분되어 들어온다고 되어 있습니다.

This is followed by a single line with the names of the p people, each a string of 1–16 letters, separated by spaces and/or tabs. (Names have no spaces in them.) Next is a single line with the names of the ℓ locations, each also a string of 1–16 letters, separated by spaces and/or tabs.

그러나 공식 데이터(https://contest.usc.edu/pmwiki...)에 따르면, 모든 데이터의 해당 입력이 줄바꿈으로 구분되어 입력되고 있습니다. 데이터의 형식을 수정하거나, 지문과 예제를 공식 데이터에 맞게 수정해주세요.

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