Codeforces Round 235 (Div. 2)
E
Olympic Games
Codeforces
未评级
原题
← D→
翻译中…

This problem was deleted from the contest, because it was used previously at another competition.

翻译中…

Input

翻译中…
翻译中…

Output

翻译中…

样例

Input #1
1 1
1 2 100
Output #1
6
InputCopy OutputCopy
题目信息
题号
401E
时间限制
2 s
内存限制
256 MB

题面与样例版权归 Codeforces 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。