codeforces#P401E. Olympic Games
Olympic Games
Description
This problem was deleted from the contest, because it was used previously at another competition.
Samples
1 1
1 2 100
6
This problem was deleted from the contest, because it was used previously at another competition.
1 1
1 2 100
6