3282.Olympic Games

Time Limit: 1s Memory Limit: 256MB

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

Input Format(From the terminal/stdin)

Input

Output Format(To the terminal/stdout)

Output

Sample Input

Copy
1 1
1 2 100
 · \n
 · ·   \n

Sample Output

Copy
6
 \n

Submit

请先 登录

© 2025 FAQs