QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#798504#9800. Crisis Event: MeteoriteNailongGroupWA 86ms3852kbC++205.9kb2024-12-04 14:16:222024-12-04 14:16:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 3776kb

input:

1
1 1
1
0

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 86ms
memory: 3852kb

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:

0
0
0
9051
0
0
0
0
2916
0
0
0
0
0
5657
0
5698
0
0
0
0
0
0
0
0
0
1971
0
0
0
0
0
0
0
656
0
0
0
0
0
0
3464
0
0
0
1479
0
426
0
0
0
0
4382
0
1963
0
0
0
0
0
0
0
0
0
0
0
0
0
6297
0
0
6830
0
0
0
0
0
0
0
0
0
0
0
0
0
3458
0
0
0
0
7498
0
0
8338
0
0
0
0
0
0
0
0
0
9433
0
0
0
0
0
0
0
0
0
0
2084
0
381
0
0
0
0
0
16...

result:

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