QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#469043#8892. Power Gridhyforces0 1ms3852kbC++205.3kb2024-07-09 11:07:152024-07-09 11:07:15

详细

Subtask #1:

score: 0
Runtime Error

Test #1:

score: 8
Accepted
time: 0ms
memory: 3576kb

input:

1 1
0

output:

0 

result:

ok correct

Test #2:

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

input:

1 1
0

output:

0 

result:

ok correct

Test #3:

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

input:

1 2
1 1

output:

-1 -1 

result:

ok correct

Test #4:

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

input:

3 1
0
3
1

output:

-2 
1 
-1 

result:

ok correct

Test #5:

score: -8
Runtime Error

input:

2 2
1 1
1 1

output:


result:


Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 0
Runtime Error

Test #23:

score: 11
Accepted
time: 0ms
memory: 3636kb

input:

1 1
0

output:

0 

result:

ok correct

Test #24:

score: -11
Runtime Error

input:

1 10
230 289 918 752 224 184 573 217 398 715

output:


result:


Subtask #4:

score: 0
Runtime Error

Test #30:

score: 6
Accepted
time: 0ms
memory: 3840kb

input:

2 2
0 0
0 0

output:

0 0 
0 0 

result:

ok correct

Test #31:

score: -6
Runtime Error

input:

2 2
7 7
7 7

output:


result:


Subtask #5:

score: 0
Runtime Error

Test #46:

score: 15
Accepted
time: 0ms
memory: 3844kb

input:

2 4
253 431 207 483
243 65 289 13

output:

-199 -8 -232 0 
13 0 0 44 

result:

ok correct

Test #47:

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

input:

2 4
188 566 555 176
471 283 272 459

output:

-425 283 318 -413 
0 46 0 0 

result:

ok correct

Test #48:

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

input:

5 6
39 93 668 330 117 610
13 145 720 382 65 662
417 285 290 48 495 232
210 78 497 159 288 439
813 681 106 444 891 164

output:

-313 -78 0 56 -65 126 
0 0 0 0 -326 0 
0 0 0 0 0 104 
0 -103 0 0 0 0 
0 0 394 0 0 106 

result:

ok correct

Test #49:

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

input:

4 7
330 140 57 520 147 685 359
70 540 457 120 547 285 41
168 638 555 22 645 187 139
425 45 38 615 52 780 454

output:

81 -389 -306 120 -52 187 110 
0 0 0 151 0 0 0 
0 0 0 0 0 249 0 
0 0 0 0 -344 0 0 

result:

ok correct

Test #50:

score: -15
Runtime Error

input:

10 10
853 399 803 868 626 195 356 314 232 136
409 45 359 424 182 249 88 130 212 308
134 320 84 149 93 524 363 405 487 583
60 394 10 75 167 598 437 479 561 657
50 404 0 65 177 608 447 489 571 667
828 374 778 843 601 170 331 289 207 111
457 3 407 472 230 201 40 82 164 260
34 420 16 49 193 624 463 505 ...

output:


result:


Subtask #6:

score: 0
Runtime Error

Test #58:

score: 0
Runtime Error

input:

1000 1000
1 0 0 1 0 1 0 1 0 0 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 0 1 1 0 1 1 1 0 0 1 1 0 0 0 1 1 0 1 1 0 1 1 1 0 0 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 0 1 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 1 0 1 1 0 0 1 1 0 1 0 1 1 1 1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 0 0 0 1 1 1 0 1 0 1 0 0 1 1 1 0 1 1 0 0 0 0 1 1 0 1 1 ...

output:


result:


Subtask #7:

score: 0
Runtime Error

Test #68:

score: 0
Runtime Error

input:

2 2
5 52
52 5

output:


result:


Subtask #8:

score: 0
Skipped

Dependency #2:

0%

Subtask #9:

score: 0
Skipped

Dependency #1:

0%