QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#214215#6693. Fast and FatqwynickWA 24ms3456kbC++17994b2023-10-14 17:58:372023-10-14 17:58:37

详细

Test #1:

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

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
Wrong Answer
time: 24ms
memory: 3456kb

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:

352409014
1
470297536
1
704877362
960871619
691253609
560579095
136979645
399988835
610497257
576427565
636500913
315900406
370430730
526259135
781258283
631916852
300930080
419999540
431930706
479323438
530080165
391912906
708925499
467782812
457987604
389750718
447390353
696516804
478354369
362958...

result:

wrong answer 2nd numbers differ - expected: '785434740', found: '1'