QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#326220#3652. Antimatter RainHuangHanShengWA 476ms55268kbC++205.1kb2024-02-12 17:39:532024-02-12 17:39:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 3
1 8
2 3
2 8
5 8
5 9
3 6 6
1 7 4
1 3 1

output:

4
1
4
6
0

result:

ok 5 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

6 3
1 2
4 8
5 10
6 10
7 10
8 10
1 1 1
3 4 3
5 7 9

output:

1
3
9
9
9
0

result:

ok 6 lines

Test #3:

score: -100
Wrong Answer
time: 476ms
memory: 55268kb

input:

100000 99848
461204923 637745978
730940613 102572682
422553731 879673851
959120803 991859511
66598648 437664322
968838882 853361367
807956510 415715356
293677855 629374884
112400753 480198913
759527413 731879157
888208396 962495575
378888480 976763956
86782568 830961763
104317977 910253192
599817862...

output:

637725292
102566084
0
991830068
0
853113431
415707097
0
480160596
731864107
961444359
976763930
830904381
910248454
652627393
807526651
705104190
675281954
0
781427032
0
0
0
191926114
651332622
634401276
0
0
0
268034028
0
0
756347892
0
834778736
304713020
917697644
732100709
547570016
0
992309908
58...

result:

wrong answer 3rd lines differ - expected: '879595382', found: '0'