QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#130429#3300. Cactus CompetitionL_G_JWA 2ms11828kbC++143.8kb2023-07-24 08:30:232023-07-24 08:30:25

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 11660kb

input:

3 3
-1 0 1
-1 0 1

output:

1

result:

ok single line: '1'

Test #2:

score: 0
Accepted
time: 1ms
memory: 11620kb

input:

3 3
-1 0 1
1 0 1

output:

5

result:

ok single line: '5'

Test #3:

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

input:

10 10
145195799 312862766 143966779 -11056226 -503624929 636383890 -182650312 -382759112 -290767690 377894950
-845235881 -418232930 -600566938 -957917357 -181139226 125255273 -175406945 740226783 -750456842 325848662

output:

0

result:

ok single line: '0'

Test #4:

score: -100
Wrong Answer
time: 2ms
memory: 11828kb

input:

10 10
923415743 -503391272 885740174 329644337 -693052351 -53764994 731859967 -834732760 -57751504 151969590
553689579 313784278 -12090771 921222379 -378313551 819586787 -373658045 559813071 671861309 268258615

output:

12

result:

wrong answer 1st lines differ - expected: '13', found: '12'