원래 이 문제의 output형식을 백준에 가져오면서 변경한 것 같은데(원 문제는 테스트케이스의 갯수를 입력받지만 BOJ에서는 1개로 고정) 문제의 원문은 수정되지 않았습니다.

입력 : Input will start with a single integer 1 ≤ N ≤ 500000, indicating the number of power strips in the test case. Then follow N lines include O1 O2 . . . ON in each line, where 2 ≤ Oi ≤ 1000, indicating the number of outlets in each power strip.

출력 : Output one line, with the maximum number of appliances that can be powered.


으로 변경 부탁드립니다.(영어가 매끄럽지 않다면 조금 손봐서 변경해주시면 감사하겠습니다.)

baekjoon   7년 전

수정했습니다.

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