4568. Olympic Games

time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output

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

Input
Output
Examples
Input
1 1
1 2 100
Output
6

难度等级: 4
总通过次数: 0
总提交次数: 0
  • math