CF 257B - Playing Cubes

Codeforces 257B: Playing Cubes

CF 257B - Playing Cubes

Rating: 1300
Tags: games, greedy, implementation
Solve time: 2m 28s
Verified: no

Solution