Hello,
I tried to solve problem 473 by a greedy algorithm:
1. S := sequence of song lengths (as given in input)
2. determine number of disks needed for the songs in S
3. if disks <= m return |S|
4. otherwise remove longest song from S and go to 2.
I assumed that the song order given in the input must be maintained over all disks, so I put songs on disk 1 until it's full, then on disk 2 until it's full, and so on.
I didn't find any case where the result differs from my (too slow) backtracking solution. Obviously, there must be such cases, because I received WA.
Thanks,
Christian


