|시간 제한||메모리 제한||제출||정답||맞은 사람||정답 비율|
|2 초||512 MB||13||5||4||33.333%|
You are in charge of feeding the seals in the Welsh Mountain Zoo. This involves purchasing buckets of fish and allocating them to volunteers to trek into the enclosure and distribute fairly to the blubbery residents.
The buckets of fish are already set out. Each volunteer can be assigned to carry either one or two of these buckets, as long as the combined weight of the buckets is small enough.
How many volunteers will you need to distribute all of the fish in one trip?
Output the minimum number of volunteers required to deliver all of the buckets of fish.
4 100 44 35 66 67
1 10 7
3 12 10 5 6