QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#439997 | #2810. Speedrun | egypt_ioi2024_07# | 8 | 30ms | 4060kb | C++20 | 2.3kb | 2024-06-12 22:33:49 | 2024-06-12 22:33:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 0
Time Limit Exceeded
Test #1:
score: 0
Time Limit Exceeded
input:
1 1 1000 1 119 1 453 1 454 2 59 3 113 3 657 3 824 4 494 5 33 5 550 5 937 6 287 7 222 7 577 7 742 8 626 9 896 10 204 11 638 12 305 12 552 12 791 13 246 14 840 15 95 15 316 15 772 16 109 16 551 16 846 17 581 18 142 19 601 19 744 19 977 20 361 20 404 20 845 21 245 21 410 21 518 22 351 23 971 24 497 24 ...
output:
1 1 20 1 2 1 11 1 1 2 1 12 1 1 2 1 13 1 1 2 1 14 0 1 2 1 15 1 1 2 1 16 1 1 2 1 17 1 1 2 1 18 0 1 2 1 19 0 1 2 1 20 0 1 2 119 1 1 1 2 119 2 0 1 2 119 3 0 1 2 119 4 0 1 2 119 5 0 1 2 119 6 0 1 2 119 7 0 1 2 119 8 0 1 2 119 9 0 1 2 119 10 0 1 2 119 11 1 1 2 119 12 1 1 2 119 13 1 1 2 119 14 0 1 2 119 15...
input:
2 1 1000 500 20 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 1
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 131 2 3 500 2 3 0
result:
wrong answer Invalid node index to goTo
Subtask #2:
score: 8
Accepted
Test #5:
score: 8
Accepted
time: 25ms
memory: 4060kb
input:
1 2 1000 1 133 2 133 3 133 4 133 5 133 6 133 7 133 8 133 9 133 10 133 11 133 12 133 13 133 14 133 15 133 16 133 17 133 18 133 19 133 20 133 21 133 22 133 23 133 24 133 25 133 26 133 27 133 28 133 29 133 30 133 31 133 32 133 33 133 34 133 35 133 36 133 37 133 38 133 39 133 40 133 41 133 42 133 43 133...
output:
1 1 20 1 2 1 11 1 1 2 1 12 0 1 2 1 13 1 1 2 1 14 0 1 2 1 15 0 1 2 1 16 0 1 2 1 17 0 1 2 1 18 1 1 2 1 19 0 1 2 1 20 0 1 2 133 1 1 1 2 133 2 0 1 2 133 3 0 1 2 133 4 0 1 2 133 5 0 1 2 133 6 0 1 2 133 7 0 1 2 133 8 0 1 2 133 9 0 1 2 133 10 0 1 2 133 11 0 1 2 133 12 1 1 2 133 13 0 1 2 133 14 0 1 2 133 15...
input:
2 2 1000 651 20 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 652 2 3 1 2 3 2 2 3 3 2 3 4 2 3 5 2 3 6 2 3 7 2 3 8 2 3 9 2 3 10 2 3 11 2 3 12 2 3 13 2 3 14 2 3 15 2 3 16 2 3 17 2 3 18 2 3 19 2 3 20 2 3 21 2 3 22 2 3 23 2 3 2...
result:
ok OK
Test #6:
score: 8
Accepted
time: 30ms
memory: 3772kb
input:
1 2 1000 1 577 2 577 3 577 4 577 5 577 6 577 7 577 8 577 9 577 10 577 11 577 12 577 13 577 14 577 15 577 16 577 17 577 18 577 19 577 20 577 21 577 22 577 23 577 24 577 25 577 26 577 27 577 28 577 29 577 30 577 31 577 32 577 33 577 34 577 35 577 36 577 37 577 38 577 39 577 40 577 41 577 42 577 43 577...
output:
1 1 20 1 2 1 11 1 1 2 1 12 0 1 2 1 13 0 1 2 1 14 0 1 2 1 15 0 1 2 1 16 0 1 2 1 17 1 1 2 1 18 0 1 2 1 19 0 1 2 1 20 1 1 2 577 1 1 1 2 577 2 0 1 2 577 3 0 1 2 577 4 0 1 2 577 5 0 1 2 577 6 0 1 2 577 7 0 1 2 577 8 0 1 2 577 9 0 1 2 577 10 0 1 2 577 11 0 1 2 577 12 1 1 2 577 13 0 1 2 577 14 0 1 2 577 15...
input:
2 2 1000 577 20 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 1 0 ...
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 2 2 3 577 2 3 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 577 2 2 1 ...
result:
ok OK
Subtask #3:
score: 0
Time Limit Exceeded
Test #7:
score: 0
Time Limit Exceeded
input:
1 3 1000 1 20 1 569 2 69 2 72 3 510 3 811 4 278 4 994 5 890 5 918 6 97 6 577 7 11 7 791 8 138 8 653 9 219 9 539 10 22 10 151 11 527 12 195 12 420 13 187 13 293 14 265 14 476 15 594 15 988 16 424 16 881 17 407 17 613 18 178 18 471 19 400 19 896 20 95 21 221 21 949 22 624 23 247 23 361 24 140 24 169 2...
output:
1 1 20 1 2 1 11 0 1 2 1 12 0 1 2 1 13 1 1 2 1 14 0 1 2 1 15 1 1 2 1 16 0 1 2 1 17 0 1 2 1 18 0 1 2 1 19 0 1 2 1 20 0 1 2 20 1 1 1 2 20 2 0 1 2 20 3 0 1 2 20 4 0 1 2 20 5 0 1 2 20 6 0 1 2 20 7 0 1 2 20 8 0 1 2 20 9 0 1 2 20 10 0 1 2 20 11 1 1 2 20 12 1 1 2 20 13 1 1 2 20 14 1 1 2 20 15 1 1 2 20 16 0 ...
input:
2 3 1000 986 20 0 0 1 1 0 1 0 0 1 0 1 0 0 0 0 0 1 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 0 1 0 1 1 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 0 0 1 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 1 0 1 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 0 0 1 0 1 0 1 0 1 1 0 0 0 1 0 1 0 1 1 1 1 1 1 1 0 0 ...
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 449 2 3 986 2 3 300 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 986 2 ...
result:
wrong answer Invalid node index to goTo
Subtask #4:
score: 0
Time Limit Exceeded
Test #10:
score: 0
Time Limit Exceeded
input:
1 4 1000 1 103 1 881 2 195 2 740 3 224 4 558 5 749 5 788 6 189 7 221 8 362 9 267 9 547 10 205 10 813 10 926 11 23 12 687 13 225 14 366 14 768 15 58 15 156 15 869 16 79 16 225 17 61 17 437 18 500 18 534 18 768 18 989 19 300 20 909 21 970 22 245 22 425 23 528 23 669 23 809 23 890 24 121 24 778 25 845 ...
output:
1 1 20 1 2 1 11 1 1 2 1 12 1 1 2 1 13 1 1 2 1 14 0 1 2 1 15 0 1 2 1 16 1 1 2 1 17 1 1 2 1 18 0 1 2 1 19 0 1 2 1 20 0 1 2 103 1 1 1 2 103 2 0 1 2 103 3 0 1 2 103 4 0 1 2 103 5 0 1 2 103 6 0 1 2 103 7 0 1 2 103 8 0 1 2 103 9 0 1 2 103 10 0 1 2 103 11 0 1 2 103 12 0 1 2 103 13 0 1 2 103 14 0 1 2 103 15...
input:
2 4 1000 196 20 1 0 0 0 0 1 1 0 1 1 0 1 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 966 2 3 1 2 3 2 2 3 3 2 3 4 2 3 5 2 3 6 2 3 7 2 3 8 2 3 9 2 3 10 2 3 11 2 3 12 2 3 13 2 3 14 2 3 15 2 3 16 2 3 17 2 3 18 2 3 19 2 3 20 2 3 21 2 3 22 2 3 23 2 3 2...
result:
wrong answer Invalid node index to goTo
Subtask #5:
score: 0
Time Limit Exceeded
Test #16:
score: 0
Time Limit Exceeded
input:
1 5 1000 1 296 1 974 2 414 3 777 4 158 4 918 5 535 5 799 5 952 6 290 7 17 7 420 8 223 9 600 10 743 11 189 11 239 11 530 11 619 12 27 12 451 13 580 14 165 15 552 15 753 16 883 16 936 17 292 17 398 17 904 18 355 18 678 19 807 20 577 21 392 21 744 22 600 23 582 23 717 23 915 24 70 24 254 24 492 25 115 ...
output:
1 1 20 1 2 1 11 0 1 2 1 12 0 1 2 1 13 0 1 2 1 14 1 1 2 1 15 0 1 2 1 16 1 1 2 1 17 0 1 2 1 18 0 1 2 1 19 1 1 2 1 20 0 1 2 296 1 1 1 2 296 2 0 1 2 296 3 0 1 2 296 4 0 1 2 296 5 0 1 2 296 6 0 1 2 296 7 0 1 2 296 8 0 1 2 296 9 0 1 2 296 10 0 1 2 296 11 0 1 2 296 12 0 1 2 296 13 0 1 2 296 14 0 1 2 296 15...
input:
2 5 1000 274 20 1 0 1 1 0 1 0 0 1 0 0 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 0 0 0 1 0 1 0 0 1 0 0 1 0 0 0 1 0 1 1 1 0 1 0 0 0 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 0 0 0 0 1 0 1 0 1 1 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 0 0 0 1 1 0 1 1 1 1 1 0 0 0 1 0 1 1 1 0 1 0 0 ...
output:
2 1 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 462 2 3 274 2 3 301 2 2 1 2 2 2 2 2 3 2 2 4 2 2 5 2 2 6 2 2 7 2 2 8 2 2 9 2 2 10 2 2 11 2 2 12 2 2 13 2 2 14 2 2 15 2 2 16 2 2 17 2 2 18 2 2 19 2 2 20 2 3 274 2 ...
result:
wrong answer Invalid node index to goTo