QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#607104#6693. Fast and FatNaturalACRE 1ms5700kbC++202.5kb2024-10-03 13:55:482024-10-03 13:55:48

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5700kb

input:

2
5
10 5
1 102
10 100
7 4
9 50
2
1 100
10 1

output:

8
1

result:

ok 2 number(s): "8 1"

Test #2:

score: -100
Runtime Error

input:

10000
4
280251502 664541723
375808746 641141991
95134537 898607509
455259328 944978891
2
798417052 547329847
785434740 991778535
6
623628702 857611223
275667427 453747403
292209526 283132767
330752033 988721243
470297536 608192332
477186035 325224271
3
280572174 994054447
306566740 923535026
3781360...

output:


result: