QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#653494 | #7878. Matrix Distances | ZhangYiDe | RE | 88ms | 17900kb | C++17 | 1.4kb | 2024-10-18 20:11:32 | 2024-10-18 20:11:36 |
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
Test #1:
score: 100
Accepted
time: 0ms
memory: 3576kb
input:
2 2 1 1 2 2
output:
4
result:
ok 1 number(s): "4"
Test #2:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
4 4 1 3 2 4 2 1 2 3 1 3 3 2 3 2 1 4
output:
152
result:
ok 1 number(s): "152"
Test #3:
score: 0
Accepted
time: 60ms
memory: 17128kb
input:
1000 1000 227980299 227980299 227980299 227980299 227980299 776958596 227980299 227980299 227980299 227980299 227980299 227980299 227980299 227980299 227980299 227980299 776958596 227980299 227980299 329001637 227980299 227980299 227980299 329001637 227980299 227980299 227980299 227980299 227980299 ...
output:
506784086339644
result:
ok 1 number(s): "506784086339644"
Test #4:
score: 0
Accepted
time: 70ms
memory: 16464kb
input:
1000 1000 701031019 701031019 902550481 515963342 902550481 701031019 902550481 701031019 701031019 701031019 701031019 701031019 701031019 902550481 701031019 701031019 701031019 902550481 701031019 902550481 701031019 902550481 902550481 902550481 902550481 515963342 701031019 701031019 701031019 ...
output:
293351133301656
result:
ok 1 number(s): "293351133301656"
Test #5:
score: 0
Accepted
time: 73ms
memory: 17896kb
input:
1000 1000 584147147 584147147 771066621 584147147 814776600 814776600 584147147 814776600 814776600 814776600 771066621 814776600 814776600 771066621 584147147 814776600 814776600 771066621 814776600 584147147 771066621 584147147 814776600 771066621 814776600 584147147 814776600 584147147 771066621 ...
output:
222221591276684
result:
ok 1 number(s): "222221591276684"
Test #6:
score: 0
Accepted
time: 72ms
memory: 17900kb
input:
1000 1000 451748258 451748258 205399494 451748258 451748258 451748258 451748258 451748258 953934338 451748258 580264463 451748258 451748258 451748258 451748258 588594555 451748258 451748258 451748258 451748258 451748258 451748258 451748258 451748258 451748258 451748258 953934338 451748258 451748258 ...
output:
450794820267988
result:
ok 1 number(s): "450794820267988"
Test #7:
score: 0
Accepted
time: 88ms
memory: 15904kb
input:
1000 1000 548583482 635446288 548583482 635446288 635446288 548583482 548583482 635446288 801198618 548583482 635446288 635446288 548583482 635446288 548583482 548583482 548583482 548583482 635446288 635446288 635446288 635446288 635446288 635446288 548583482 726064808 635446288 801198618 548583482 ...
output:
237272499061426
result:
ok 1 number(s): "237272499061426"
Test #8:
score: 0
Accepted
time: 78ms
memory: 15296kb
input:
1000 1000 596800174 215475167 727165477 215475167 596800174 479596632 596800174 479596632 340778824 596800174 340778824 340778824 596800174 727165477 792552295 215475167 825136342 215475167 15133890 15133890 792552295 215475167 15133890 15133890 215475167 792552295 186221070 596800174 825136342 7925...
output:
66666979915604
result:
ok 1 number(s): "66666979915604"
Test #9:
score: -100
Runtime Error
input:
1000 1000 283321818 144879541 144879541 144879541 144879541 144879541 144879541 144879541 351529453 755622562 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 144879541 ...