QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#469047 | #8892. Power Grid | hyforces | 0 | 1ms | 3828kb | C++20 | 5.3kb | 2024-07-09 11:30:37 | 2024-07-09 11:30:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Runtime Error
Test #1:
score: 8
Accepted
time: 0ms
memory: 3620kb
input:
1 1 0
output:
0
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3544kb
input:
1 1 0
output:
0
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1 2 1 1
output:
-1 -1
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3620kb
input:
3 1 0 3 1
output:
-2 1 -1
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
2 2 1 1 1 1
output:
1 -1 0 0
result:
ok correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
3 3 2 1 1 2 1 1 0 1 3
output:
0 1 -1 0 0 0 2 0 0
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3540kb
input:
3 3 0 1 0 2 1 2 1 2 1
output:
0 0 0 1 1 0 -1 0 0
result:
ok correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
3 3 0 0 2 2 2 0 0 0 2
output:
0 0 0 0 0 2 0 0 0
result:
ok correct
Test #9:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
3 3 3 1 2 3 1 2 3 1 2
output:
3 -1 -2 0 0 0 0 0 0
result:
ok correct
Test #10:
score: -8
Runtime Error
input:
3 3 3 3 3 0 0 0 3 3 3
output:
result:
Subtask #2:
score: 0
Skipped
Dependency #1:
0%
Subtask #3:
score: 0
Runtime Error
Test #23:
score: 11
Accepted
time: 0ms
memory: 3548kb
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: 3544kb
input:
2 2 0 0 0 0
output:
0 0 0 0
result:
ok correct
Test #31:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
2 2 7 7 7 7
output:
7 -7 0 0
result:
ok correct
Test #32:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
2 4 7 7 7 7 7 7 7 7
output:
-7 0 -7 0 0 -7 0 -7
result:
ok correct
Test #33:
score: -6
Runtime Error
input:
20 40 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 80 ...
output:
result:
Subtask #5:
score: 0
Runtime Error
Test #46:
score: 15
Accepted
time: 1ms
memory: 3716kb
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: 3616kb
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: 3604kb
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: 3624kb
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: 0
Accepted
time: 0ms
memory: 3620kb
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:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 88 356 0 0 0 0 0 0 0 626 93 0 0 0 0 0 0 793 0 0 0 0 0 0 0 803 0 0 0 0 0 0 0 0 0 0 0 10 0 0 14 0 0 0 1 50 0 0 0 0 0 0 314 0 32 0 0 0 819 0 0 0 0 0 0 0 0 0 0 0 0 0 0 232 91 0 399 0 49 0 0 0 0 0 12
result:
ok correct
Test #51:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
10 10 376 557 253 418 586 309 363 261 20 193 343 524 220 385 553 276 330 228 53 160 322 141 445 280 112 389 335 437 718 505 123 58 246 81 87 190 136 238 519 306 39 142 162 3 171 106 52 154 435 222 6 175 129 36 204 73 19 121 402 189 297 478 174 339 507 230 284 182 99 114 441 260 564 399 231 508 454 5...
output:
0 0 3 0 0 0 0 11 -20 6 0 0 33 0 0 0 0 0 0 0 0 557 141 0 0 0 0 0 0 0 0 0 0 418 0 0 0 0 0 81 376 0 39 0 0 0 0 0 0 0 0 0 0 0 0 0 363 19 0 0 0 0 0 0 0 0 0 0 0 79 0 0 0 0 586 0 0 231 0 0 0 0 37 0 0 309 0 0 0 0 0 0 0 0 0 0 0 0 0 27
result:
ok correct
Test #52:
score: 0
Accepted
time: 0ms
memory: 3548kb
input:
10 10 608 306 681 555 168 504 161 276 342 308 236 66 309 183 204 132 211 96 30 64 589 287 662 536 149 485 142 257 323 289 70 372 3 123 510 174 517 402 336 370 160 462 87 213 600 264 607 492 426 460 178 124 251 125 262 74 269 154 88 122 458 156 531 405 18 354 11 126 192 158 61 241 134 8 379 43 386 27...
output:
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 50 14 0 308 0 0 0 0 0 0 0 19 0 0 0 0 0 555 123 0 0 0 0 0 0 80 681 0 2 0 0 5 0 0 0 0 0 0 0 0 0 88 342 0 0 0 0 0 0 0 0 150 0 0 0 0 0 0 43 504 0 0 0 0 608 0 0 0 0 0 111 0 0 0 0 226 0 0 0 0 0 0 0 0
result:
ok correct
Test #53:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
2 4 1 2 3 4 5 6 7 8
output:
0 -5 0 -2 -6 0 -4 -1
result:
ok correct
Test #54:
score: -15
Runtime Error
input:
10 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 10...
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: 15
Accepted
time: 0ms
memory: 3608kb
input:
2 2 5 52 52 5
output:
0 0 5 52
result:
ok correct
Test #69:
score: -15
Runtime Error
input:
1000 1000 640 423 797 825 85 491 146 594 713 894 923 193 511 700 556 269 32 177 29 16 394 971 754 194 930 404 686 794 19 267 410 880 859 52 477 347 94 826 638 132 385 628 642 795 332 98 606 377 681 330 731 339 157 855 875 836 450 46 225 661 138 909 917 873 371 223 152 19 44 67 792 3 466 740 151 681 ...
output:
result:
Subtask #8:
score: 0
Skipped
Dependency #2:
0%
Subtask #9:
score: 0
Skipped
Dependency #1:
0%