Submit solution
Points:
1400 (partial)
Time limit:
1.0s
Memory limit:
256M
Input:
CAU4.inp
Output:
CAU4.out
Problem type
Sample Input
3 4 2
3 8
Sample Output
5
13
Comments