QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#443664 | #8581. 섬 | HuangHanSheng | 14 | 56ms | 9776kb | C++20 | 1017b | 2024-06-15 16:14:41 | 2024-06-15 16:14:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 6
Accepted
Test #1:
score: 6
Accepted
time: 0ms
memory: 4096kb
input:
4 0 2
output:
1 4 0 1 0 2 0 3 1 4 2 4 1 2 2 3 2 4 0 4 1 0 1 2
result:
ok Correct
Test #2:
score: 6
Accepted
time: 0ms
memory: 4060kb
input:
3
output:
1 3 0 1 0 2 1 3 2 3 1 2 2 3 0 3 1 0 1 2
result:
ok Correct
Test #3:
score: 6
Accepted
time: 0ms
memory: 3880kb
input:
4 3 1
output:
1 4 3 0 3 1 3 2 0 4 2 4 0 1 1 2 1 4 3 4 1 3 0 1
result:
ok Correct
Test #4:
score: 6
Accepted
time: 0ms
memory: 4104kb
input:
5 1 4 1 3
output:
1 5 1 0 1 2 1 3 1 4 2 5 2 5 2 3 3 4 4 0 3 5 1 5 1 1 2 3
result:
ok Correct
Subtask #2:
score: 8
Accepted
Test #5:
score: 8
Accepted
time: 0ms
memory: 4096kb
input:
10 7 0 7 5 7 3 7 1 7 9 7 4 7 2
output:
1 10 7 0 7 1 7 2 7 3 7 4 7 5 7 6 7 8 7 9 8 10 2 10 0 1 1 2 2 3 3 4 4 5 5 6 8 9 9 0 9 10 7 10 1 7 8 9
result:
ok Correct
Test #6:
score: 8
Accepted
time: 1ms
memory: 4148kb
input:
1000 10 919 10 561 10 671 10 430 10 425 10 987 10 608 10 401 10 467 10 850 10 207 10 99 10 864 10 907 10 590 10 410 10 3 10 236 10 546 10 455 10 694 10 651 10 193 10 295 10 910 10 929 10 151 10 157 10 869 10 453 10 587 10 800 10 988 10 832 10 7 10 723 10 172 10 628 10 432 10 527 10 702 10 328 10 895...
output:
1 1000 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 10 9 10 11 10 12 10 13 10 14 10 15 10 16 10 17 10 18 10 19 10 20 10 21 10 22 10 23 10 24 10 25 10 26 10 27 10 28 10 29 10 30 10 31 10 32 10 33 10 34 10 35 10 36 10 37 10 38 10 39 10 40 10 41 10 42 10 43 10 44 10 45 10 46 10 47 10 48 10 49 10 50 10 ...
result:
ok Correct
Test #7:
score: 8
Accepted
time: 2ms
memory: 3980kb
input:
5000 3653 4458 3653 4383 3653 1303 3653 3306 3653 3218 3653 2614 3653 4321 3653 959 3653 2749 3653 3926 3653 3679 3653 2498 3653 163 3653 1980 3653 3542 3653 1300 3653 4388 3653 4971 3653 3012 3653 711 3653 103 3653 3179 3653 4304 3653 4387 3653 1526 3653 4202 3653 3989 3653 810 3653 4756 3653 4029 ...
output:
1 5000 3653 0 3653 1 3653 2 3653 3 3653 4 3653 5 3653 6 3653 7 3653 8 3653 9 3653 10 3653 11 3653 12 3653 13 3653 14 3653 15 3653 16 3653 17 3653 18 3653 19 3653 20 3653 21 3653 22 3653 23 3653 24 3653 25 3653 26 3653 27 3653 28 3653 29 3653 30 3653 31 3653 32 3653 33 3653 34 3653 35 3653 36 3653 37...
result:
ok Correct
Test #8:
score: 8
Accepted
time: 56ms
memory: 9776kb
input:
199999 98281 193703 98281 79970 98281 92443 98281 1621 98281 144687 98281 143302 98281 15416 98281 9245 98281 127092 98281 21325 98281 149110 98281 119923 98281 53885 98281 25820 98281 29852 98281 34700 98281 120142 98281 185421 98281 84923 98281 66458 98281 192051 98281 44169 98281 114692 98281 105...
output:
1 199999 98281 0 98281 1 98281 2 98281 3 98281 4 98281 5 98281 6 98281 7 98281 8 98281 9 98281 10 98281 11 98281 12 98281 13 98281 14 98281 15 98281 16 98281 17 98281 18 98281 19 98281 20 98281 21 98281 22 98281 23 98281 24 98281 25 98281 26 98281 27 98281 28 98281 29 98281 30 98281 31 98281 32 9828...
result:
ok Correct
Test #9:
score: 8
Accepted
time: 43ms
memory: 9532kb
input:
200000 175608 25000 175608 61359 175608 134288 175608 74838 175608 58154 175608 21892 175608 76830 175608 141171 175608 76397 175608 98232 175608 39276 175608 143602 175608 78284 175608 149754 175608 181632 175608 172252 175608 112871 175608 142010 175608 2821 175608 18165 175608 105580 175608 16460...
output:
1 200000 175608 0 175608 1 175608 2 175608 3 175608 4 175608 5 175608 6 175608 7 175608 8 175608 9 175608 10 175608 11 175608 12 175608 13 175608 14 175608 15 175608 16 175608 17 175608 18 175608 19 175608 20 175608 21 175608 22 175608 23 175608 24 175608 25 175608 26 175608 27 175608 28 175608 29 1...
result:
ok Correct
Subtask #3:
score: 0
Wrong Answer
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 4060kb
input:
5000 4593 3389 4593 1610 4593 2357 4593 3323 4593 2037 4593 3667 4593 2737 4593 2642 4593 3981 4593 2700 4593 2134 4593 1719 4593 1444 4593 3729 4593 1371 4593 546 4593 1249 4593 646 4593 4221 4593 1542 4593 2314 4735 4952 4593 680 4593 2555 4593 2152 4593 740 4593 4056 4593 64 4593 3079 4593 3021 4...
output:
1 5000 4593 0 4593 1 4593 2 4593 3 4593 4 4593 5 4593 6 4593 7 4593 8 4593 9 4593 10 4593 11 4593 12 4593 13 4593 14 4593 15 4593 16 4593 17 4593 18 4593 19 4593 20 4593 21 4593 22 4593 23 4593 24 4593 25 4593 26 4593 27 4593 28 4593 29 4593 30 4593 31 4593 32 4593 33 4593 34 4593 35 4593 36 4593 37...
result:
wrong answer Wrong Answer, wrong operation
Subtask #4:
score: 0
Wrong Answer
Dependency #1:
100%
Accepted
Test #19:
score: 0
Wrong Answer
time: 0ms
memory: 4064kb
input:
10 0 2 6 0 4 2 0 5 6 9 6 8 0 4
output:
1 10 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 10 2 10 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 2 10 0 10 1 0 1 2
result:
wrong answer Wrong Answer, wrong edge for tree
Subtask #5:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
100%
Accepted
Dependency #3:
0%