QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#798079#9800. Crisis Event: Meteoriteucup-team5885#WA 42ms4064kbC++172.2kb2024-12-04 01:39:002024-12-04 01:39:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

input:

1
1 1
1
0

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 42ms
memory: 4064kb

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
0
3177
1855
269
3779
0
0
744
2287
1628
0
0
0
2275
0
3762
0
1080
2820
100000000000000000
0
0
0
0
0
2673
0
0
0
0
1193
0
0
1556
0
4761
0
39
1037
2892
2007
0
2032
2959
254
1024
4361
803
0
2380
0
2880
3595
0
0
0
135
0
0
0
0
0
0
96
0
0
1507
3900
0
0
2890
993
1469
3167
0
0
1234
0
0
0
0
1383
3056
1490
...

result:

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