codeforces509B】的更多相关文章

Painting Pebbles CodeForces - 509B There are n piles of pebbles on the table, the i-th pile contains ai pebbles. Your task is to paint each pebble using one of the k given colors so that for each color c and any two piles i and j the difference betwe…