QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#58002 | #3711. Floyd-Warshall | HuangHanSheng | RE | 4ms | 7796kb | C++14 | 1.4kb | 2022-10-24 08:32:57 | 2022-10-24 08:33:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 3ms
memory: 7420kb
input:
4 5 3 1 2 1 3 1 4 2 3 3 4 2 2 2 3 2 4
output:
0 1 2
result:
ok 3 number(s): "0 1 2"
Test #2:
score: 0
Accepted
time: 2ms
memory: 6936kb
input:
1 2 1 1 1 1 1 1 1
output:
0
result:
ok 1 number(s): "0"
Test #3:
score: 0
Accepted
time: 2ms
memory: 7600kb
input:
5 7 10 5 3 1 2 4 1 2 5 3 4 2 2 1 3 5 5 4 5 3 2 4 4 5 3 3 5 2 4 4 2 5 3 4 2
output:
0 2 2 0 1 1 2 2 1 2
result:
ok 10 numbers
Test #4:
score: 0
Accepted
time: 0ms
memory: 7452kb
input:
5 8 10 5 1 1 3 4 5 2 3 1 5 4 2 2 2 2 3 2 1 2 3 4 5 1 1 2 2 5 3 3 5 3 4 4 5 1 1
output:
2 1 1 0 0 2 2 2 1 0
result:
ok 10 numbers
Test #5:
score: 0
Accepted
time: 3ms
memory: 6540kb
input:
5 8 10 4 1 5 2 3 5 3 1 5 1 5 1 4 2 2 5 3 1 3 2 2 1 3 2 3 3 1 5 4 5 4 3 4 3 2 5
output:
1 2 2 2 0 1 2 2 2 1
result:
ok 10 numbers
Test #6:
score: 0
Accepted
time: 1ms
memory: 6684kb
input:
5 6 10 3 5 5 1 1 4 5 2 5 4 4 1 3 3 4 5 1 5 1 4 2 5 1 4 3 3 2 1 5 1 1 4
output:
0 1 1 1 1 1 0 2 1 1
result:
ok 10 numbers
Test #7:
score: 0
Accepted
time: 4ms
memory: 7796kb
input:
5 8 10 2 3 5 3 1 4 3 1 5 5 1 2 2 5 1 2 3 5 2 5 3 5 3 2 3 2 2 5 2 4 1 2 2 2 5 2
output:
1 1 1 1 1 1 2 1 0 1
result:
ok 10 numbers
Test #8:
score: 0
Accepted
time: 3ms
memory: 7100kb
input:
5 7 10 1 3 4 1 4 2 5 4 4 1 5 4 3 5 2 3 1 1 5 4 4 3 1 1 3 3 3 1 2 3 5 5 2 5
output:
3 0 1 2 0 0 1 3 0 2
result:
ok 10 numbers
Test #9:
score: 0
Accepted
time: 0ms
memory: 6308kb
input:
5 8 10 1 2 1 5 4 1 2 3 4 5 3 3 4 1 2 5 5 1 5 3 3 4 1 5 1 4 3 5 1 4 1 3 5 4 2 4
output:
1 2 3 1 1 2 1 2 1 2
result:
ok 10 numbers
Test #10:
score: 0
Accepted
time: 3ms
memory: 6100kb
input:
5 7 10 5 2 2 1 5 3 3 4 1 5 1 1 5 3 4 5 3 1 3 1 3 1 2 1 2 1 5 1 4 4 5 3 3 2
output:
2 2 2 2 1 1 1 0 1 2
result:
ok 10 numbers
Test #11:
score: 0
Accepted
time: 3ms
memory: 7188kb
input:
5 8 10 1 5 3 5 2 5 1 4 4 1 3 3 5 5 5 2 1 5 2 3 2 2 3 4 3 2 1 1 5 3 3 4 5 4 2 4
output:
1 2 0 3 2 0 1 3 2 3
result:
ok 10 numbers
Test #12:
score: 0
Accepted
time: 2ms
memory: 6132kb
input:
5 7 10 5 1 5 3 2 5 4 2 3 3 3 2 2 2 1 5 2 3 2 2 5 4 3 3 2 5 5 5 3 4 2 2 5 5
output:
1 1 0 2 0 1 0 2 0 0
result:
ok 10 numbers
Test #13:
score: 0
Accepted
time: 2ms
memory: 6280kb
input:
10 15 10 5 9 1 6 8 1 1 10 10 3 2 5 5 4 2 8 7 5 10 7 1 10 3 3 4 2 3 7 2 4 7 2 10 8 1 9 6 8 4 5 2 4 8 9 3 7 3 7 6 8
output:
2 2 4 2 1 1 3 1 1 2
result:
ok 10 numbers
Test #14:
score: 0
Accepted
time: 1ms
memory: 7576kb
input:
10 15 10 1 3 2 8 3 5 2 6 9 3 7 4 9 2 7 6 10 5 10 3 7 1 8 6 4 8 7 8 5 9 10 8 7 5 1 1 4 10 1 3 9 2 2 2 3 6 2 8 4 4
output:
4 3 0 4 1 1 0 3 1 0
result:
ok 10 numbers
Test #15:
score: 0
Accepted
time: 1ms
memory: 5996kb
input:
10 14 10 6 10 10 1 9 10 1 5 10 3 3 8 9 4 10 2 8 7 9 3 6 9 9 2 10 1 8 1 5 8 6 1 8 9 5 1 1 6 10 7 1 4 1 8 9 9 6 2
output:
2 2 2 1 2 3 3 1 0 2
result:
ok 10 numbers
Test #16:
score: 0
Accepted
time: 1ms
memory: 6144kb
input:
10 13 10 6 7 5 10 2 7 5 4 8 2 5 9 1 10 5 2 3 9 5 7 8 2 4 2 7 5 2 2 5 2 8 6 5 2 10 3 4 10 3 7 5 5 4 4 6 3
output:
0 1 3 1 3 2 3 0 0 4
result:
ok 10 numbers
Test #17:
score: 0
Accepted
time: 3ms
memory: 6704kb
input:
10 17 10 10 9 8 4 5 2 7 6 9 6 8 2 3 7 6 8 5 1 3 2 9 4 6 8 4 10 8 9 1 2 5 1 7 1 10 6 10 2 7 6 1 1 6 10 7 1 9 9 4 1 4 3 5 1
output:
2 3 1 0 2 1 0 3 3 1
result:
ok 10 numbers
Test #18:
score: 0
Accepted
time: 0ms
memory: 6492kb
input:
10 12 10 2 1 7 6 8 2 8 10 4 10 8 6 6 3 3 5 10 9 3 3 3 5 4 10 9 5 9 9 1 1 4 5 6 7 4 6 10 4 2 10 7 6 9 10
output:
5 0 0 5 1 3 1 2 1 1
result:
ok 10 numbers
Test #19:
score: 0
Accepted
time: 3ms
memory: 6664kb
input:
10 15 10 9 3 3 5 9 6 2 6 6 7 1 6 6 8 7 10 3 4 8 6 9 3 8 3 3 4 2 1 10 4 9 3 2 7 3 5 5 7 5 9 2 3 3 5 8 3 5 9 10 5
output:
1 2 1 4 2 3 1 1 2 3
result:
ok 10 numbers
Test #20:
score: 0
Accepted
time: 3ms
memory: 7592kb
input:
10 19 10 1 8 4 10 3 4 1 10 1 5 9 7 9 8 3 2 6 4 8 3 6 3 3 1 5 2 5 4 3 7 8 3 10 4 1 8 8 10 3 8 6 2 5 2 1 1 4 8 6 4 4 7 9 6 1 10 1 3
output:
1 2 1 0 2 1 2 3 1 1
result:
ok 10 numbers
Test #21:
score: 0
Accepted
time: 2ms
memory: 6432kb
input:
10 18 10 2 6 2 4 10 7 3 9 4 9 10 1 7 3 4 8 4 5 1 9 9 4 1 8 2 6 10 7 5 4 2 6 10 9 2 3 7 5 3 5 4 10 9 5 3 9 3 3 1 3 5 5 5 10 10 4
output:
4 3 2 2 1 0 2 0 3 2
result:
ok 10 numbers
Test #22:
score: 0
Accepted
time: 3ms
memory: 7624kb
input:
10 18 10 1 5 9 5 7 10 10 6 9 3 1 7 8 6 6 2 9 4 4 7 1 9 10 10 9 9 8 8 9 2 6 8 8 1 6 10 6 2 8 7 3 3 1 4 10 8 7 3 5 9 2 10 1 5 1 10
output:
1 2 0 2 2 3 1 2 1 2
result:
ok 10 numbers
Test #23:
score: -100
Runtime Error
input:
100 154 1000 35 12 42 72 44 83 47 99 100 98 27 73 83 25 78 91 44 2 67 22 58 12 78 76 58 67 77 45 62 77 75 31 53 62 48 19 69 13 12 90 48 5 60 37 99 45 63 29 46 32 65 23 94 86 80 17 89 73 55 91 46 57 81 20 26 85 28 38 33 63 67 89 46 12 18 77 86 73 42 39 66 55 47 33 24 20 4 83 83 96 54 46 88 1 37 36 42...