QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#154444#6693. Fast and Fatucup-team1024#WA 30ms3780kbC++23908b2023-08-31 18:01:372023-08-31 18:01:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 30ms
memory: 3780kb

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
785434740
330752033
261929431
253719690
960871619
576690224
482232309
136979645
381938087
363362549
339629209
260168973
315900406
192163502
412319885
781258283
631916852
355137761
419999540
431930706
190164391
530080165
355948728
708925499
198645798
710156471
377112364
798382479
718651762
...

result:

wrong answer 3rd numbers differ - expected: '470297536', found: '330752033'