seungchan0325   2년 전

영어 원문: Formally, a column M = {x, y, z} is a unison, if M has three of the same tones or two of the same tones plus &. If x = y = z ≠ ‘&’, then the weight of the unison is 3. If M has two of the same tones and a single ‘&’, then the weight of the column is 1. The sum of all unisons in a score is called the total unison weight. The following table shows the unison weight for each tone set

"값을 정하는 방법은 ‘&’를 제외한 7개의 음정 중에 3개의 음악에도 동시에 한 음을 연주하면 3점이고 동시에 2개를 연주하면 1점이고 그렇지 않으면 0점이다. ('&'이 두개라서 1점이 되지는 않는다.)" -> "값을 정하는 방법은 3개의 음악에서 동시에 같은 음을 연주하면 3점이고 2개의 음악에서 동시에 같은 음을 연주하면서 남은 하나가 '&'이면 1점이고 그렇지 않으면 0점이다. ('&'을 하나의 음으로 치지 않는다.)"

rich1055   1년 전

감사합니다. 덕분에 AC 받았습니다. 

AAB를 연주했을때 1점으로 처리하면
예제입력 4 의 출력이 15로 나옵니다.

AAB는 0점, 
AA&는 1점으로 처리해야 AC를 받을 수 있습니다.

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