DP 썸네일형 리스트형 Tug of War http://acm.pku.edu.cn/JudgeOnline/problem?id=2576 Description A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other; the number of people on the two teams must not differ by more than 1; the total weight of the people on each team should be as nearly equal as possible. Input The f.. 더보기 이전 1 2 다음