QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#71892 | #4562. Prisoner Challenge | GuanYunchang | 100 ✓ | 13ms | 3872kb | C++14 | 3.3kb | 2023-01-12 09:23:32 | 2023-01-12 09:23:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 5
Accepted
Test #1:
score: 5
Accepted
time: 1ms
memory: 3156kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 2 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 0 0 -1 -2
result:
ok
Test #2:
score: 0
Accepted
time: 2ms
memory: 3248kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 3 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 1 0 -1 1 -2 1 -2 0 -1
result:
ok
Test #3:
score: 0
Accepted
time: 1ms
memory: 3152kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 243 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 13 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 1...
result:
ok
Test #4:
score: 0
Accepted
time: 2ms
memory: 3124kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 256 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 13 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 ...
result:
ok
Test #5:
score: 0
Accepted
time: 1ms
memory: 3316kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 499 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #6:
score: 0
Accepted
time: 1ms
memory: 3136kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 500 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #7:
score: 0
Accepted
time: 1ms
memory: 3344kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 29 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 7 0 -1 1 1 1 1 1 1 1 1 1 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 -2 1 -2 -2 2 2 3 3 3 5 5 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 -1 -1 -2 -2 -2 -2 -2 -2 -2 -1 -1 -2 -2 -2 -2 -2 -2 -2 -1 -1 -2 -2 -2 -2 -2 -2 -2 0 0 0 -1 -1 -1 -1 4 -2 -2...
result:
ok
Test #8:
score: 0
Accepted
time: 0ms
memory: 3340kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 380 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #9:
score: 0
Accepted
time: 2ms
memory: 3176kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 411 1
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Subtask #2:
score: 5
Accepted
Test #10:
score: 5
Accepted
time: 1ms
memory: 3340kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 2 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 0 0 -1 -2
result:
ok
Test #11:
score: 0
Accepted
time: 0ms
memory: 3164kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 3 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 1 0 -1 1 -2 1 -2 0 -1
result:
ok
Test #12:
score: 0
Accepted
time: 2ms
memory: 3276kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 243 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 13 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 11 1...
result:
ok
Test #13:
score: 0
Accepted
time: 2ms
memory: 3220kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 256 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 13 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 ...
result:
ok
Test #14:
score: 0
Accepted
time: 3ms
memory: 3404kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 499 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #15:
score: 0
Accepted
time: 2ms
memory: 3184kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 500 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #16:
score: 0
Accepted
time: 2ms
memory: 3128kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 12 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 5 0 -1 1 1 1 3 3 3 3 5 5 5 -2 1 -2 -2 2 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 -1 0 -2 -1 0 -2 -2 -1 0 -2 0 1 -2 -2 -2 -2 -2 2 4 -1 -1 -1 -1 -1 0 0 0 0 0 -1 -1 0 -2 0 0 0 0 1 -2 -2 -2 -2 -2 -2 -2 -2 -2 2 -1 -1
result:
ok
Test #17:
score: 0
Accepted
time: 2ms
memory: 3364kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 138 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 11 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11...
result:
ok
Test #18:
score: 0
Accepted
time: 2ms
memory: 3180kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 469 2
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Subtask #3:
score: 90
Accepted
Test #19:
score: 90
Accepted
time: 2ms
memory: 3124kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 2 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 0 0 -1 -2
result:
ok
Test #20:
score: 90
Accepted
time: 2ms
memory: 3128kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 3 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 1 0 -1 1 -2 1 -2 0 -1
result:
ok
Test #21:
score: 90
Accepted
time: 7ms
memory: 3548kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 2187 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 19 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #22:
score: 90
Accepted
time: 8ms
memory: 3596kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 4096 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 20 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #23:
score: 90
Accepted
time: 13ms
memory: 3648kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 4999 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 20 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #24:
score: 90
Accepted
time: 6ms
memory: 3872kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 5000 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 20 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #25:
score: 90
Accepted
time: 2ms
memory: 3296kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 22 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 6 0 -1 1 1 1 1 1 1 1 5 5 5 5 5 5 6 6 6 6 6 6 6 -2 1 -2 -2 2 2 3 4 4 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 -1 -1 -2 -2 -2 -2 -2 -1 -1 -2 -2 -2 -2 -1 -1 -2 -2 -2 -2 -2 0 0 0 -1 -1 -1 0 -2 -2 -2 -1 -1 -1 -1 -2 -2 -1 -1 -1 0 -2 -2 -2 0 0 0 -1 -1 -1 ...
result:
ok
Test #26:
score: 90
Accepted
time: 2ms
memory: 3176kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 376 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 14 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #27:
score: 90
Accepted
time: 3ms
memory: 3432kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 662 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 15 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #28:
score: 90
Accepted
time: 6ms
memory: 3564kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 2010 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 18 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #29:
score: 90
Accepted
time: 8ms
memory: 3580kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 4030 3
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 20 0 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ...
result:
ok
Test #30:
score: 90
Accepted
time: 0ms
memory: 3124kb
input:
9bbd7c649d0a9529ee32e00a6b96ee2f93e5b138 3 0
output:
d42f2a420c2a91c29a00736354e52427eecfabae OK 1 0 -1 1 -2 1 -2 0 -1
result:
ok