407587: GYM102835 C Pyramid

Memory Limit:1024 MB Time Limit:3 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

C. Pyramidtime limit per test3 secondsmemory limit per test1024 megabytesinputstandard inputoutputstandard outputExamplesInput
3
5 3
5 4
5 5
Output
2
3
2
Input
2
5 1
5 2
Output
0
1

加入题单

算法标签: