QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#798076#9800. Crisis Event: Meteoriteucup-team5885#WA 41ms3776kbC++172.2kb2024-12-04 01:33:542024-12-04 01:33:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3680kb

input:

2
3 4
1 0 1
0 1 0
2 0 0
0 0 3
4 5 0
1 1
1
1000

output:

4
-1

result:

ok 2 number(s): "4 -1"

Test #2:

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

input:

1
1 1
1
0

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 41ms
memory: 3776kb

input:

10000
3 15
0 0 1
0 0 0
0 0 0
0 0 0
818 0 0
0 404 0
0 684 0
0 0 966
0 69 602
0 835 443
458 0 189
0 0 388
0 0 0
768 128 0
0 959 466
0 324 170
59 1
1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 1 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 0 1 1 0 1 0 0 1 0 0 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1
0 223 0 0 0 260 0 0 0 504 0 583 878 0...

output:

2135
9322
4156
1855
269
3779
7168
0
744
2761
1922
0
22163
0
2275
0
3762
0
3770
3321
1793
382
0
849
493
0
2673
0
259
0
2317
2286
34000
0
10701
0
5364
0
39
3918
3609
2007
0
2163
3478
254
2769
5658
10159
2023
4606
7787
2880
4340
0
22526
8754
1035
9227
0
0
4112
5804
396
96
0
3477
1846
3900
670
413
2890
...

result:

wrong answer 1st numbers differ - expected: '6752', found: '2135'