QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#263792 | #7868. 天空度假山庄 | txl16211 | 100 ✓ | 43ms | 9160kb | C++17 | 925b | 2023-11-25 07:31:51 | 2023-11-25 07:31:53 |
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: 4108kb
input:
8216 1
output:
8216 8215 8214 8213 8212 8211 8210 8209 8208 8207 8206 8205 8204 8203 8202 8201 8200 8199 8198 8197 8196 8195 8194 8193 8192 8191 8190 8189 8188 8187 8186 8185 8184 8183 8182 8181 8180 8179 8178 8177 8176 8175 8174 8173 8172 8171 8170 8169 8168 8167 8166 8165 8164 8163 8162 8161 8160 8159 8158 8157 ...
result:
ok correct
Test #2:
score: 0
Accepted
time: 1ms
memory: 3868kb
input:
5166 2
output:
5166 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 ...
result:
ok correct
Test #3:
score: 0
Accepted
time: 1ms
memory: 3884kb
input:
7445 2
output:
7445 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 ...
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3888kb
input:
1295 2
output:
1295 2 1 3 2 4 3 5 4 6 5 7 6 8 7 9 8 10 9 11 10 12 11 13 12 14 13 15 14 16 15 17 16 18 17 19 18 20 19 21 20 22 21 23 22 24 23 25 24 26 25 27 26 28 27 29 28 30 29 31 30 32 31 33 32 34 33 35 34 36 35 37 36 38 37 39 38 40 39 41 40 42 41 43 42 44 43 45 44 46 45 47 46 48 47 49 48 50 49 51 50 52 51 53 52 ...
result:
ok correct
Subtask #2:
score: 20
Accepted
Test #5:
score: 20
Accepted
time: 27ms
memory: 8040kb
input:
86132 9
output:
86132 2 86131 3 86130 4 86129 5 86128 86127 86129 86126 86130 86125 86131 86124 86132 86123 86122 86124 86121 86125 86120 86126 86119 86127 86118 86117 86119 86116 86120 86115 86121 86114 86122 86113 86112 86114 86111 86115 86110 86116 86109 86117 86108 86107 86109 86106 86110 86105 86111 86104 8611...
result:
ok correct
Test #6:
score: 0
Accepted
time: 36ms
memory: 9072kb
input:
73452 11
output:
73452 2 73451 3 73450 4 73449 5 73448 6 73446 73445 73447 73444 73448 73443 73449 73442 73450 73441 73451 73439 73438 73440 73437 73441 73436 73442 73435 73443 73434 73444 73432 73431 73433 73430 73434 73429 73435 73428 73436 73427 73437 73425 73424 73426 73423 73427 73422 73428 73421 73429 73420 73...
result:
ok correct
Test #7:
score: 0
Accepted
time: 24ms
memory: 5308kb
input:
23283 20
output:
23283 2 23282 3 23281 4 23280 5 23279 6 23278 7 23277 8 23276 9 23275 10 23274 11 10 12 9 13 8 14 7 15 6 16 5 17 4 18 3 19 2 20 1 21 20 22 19 23 18 24 17 25 16 26 15 27 14 28 13 29 12 30 11 31 30 32 29 33 28 34 27 35 26 36 25 37 24 38 23 39 22 40 21 41 40 42 39 43 38 44 37 45 36 46 35 47 34 48 33 49...
result:
ok correct
Test #8:
score: 0
Accepted
time: 28ms
memory: 9160kb
input:
36944 17
output:
36944 2 36943 3 36942 4 36941 5 36940 6 36939 7 36938 8 36937 9 36936 36935 36937 36934 36938 36933 36939 36932 36940 36931 36941 36930 36942 36929 36943 36928 36944 36927 36926 36928 36925 36929 36924 36930 36923 36931 36922 36932 36921 36933 36920 36934 36919 36935 36918 36917 36919 36916 36920 36...
result:
ok correct
Test #9:
score: 0
Accepted
time: 29ms
memory: 7868kb
input:
61927 10
output:
61927 2 61926 3 61925 4 61924 5 61923 6 5 7 4 8 3 9 2 10 1 11 10 12 9 13 8 14 7 15 6 16 15 17 14 18 13 19 12 20 11 21 20 22 19 23 18 24 17 25 16 26 25 27 24 28 23 29 22 30 21 31 30 32 29 33 28 34 27 35 26 36 35 37 34 38 33 39 32 40 31 41 40 42 39 43 38 44 37 45 36 46 45 47 44 48 43 49 42 50 41 51 50...
result:
ok correct
Subtask #3:
score: 20
Accepted
Dependency #2:
100%
Accepted
Test #10:
score: 20
Accepted
time: 0ms
memory: 3776kb
input:
111 17
output:
111 2 110 3 109 4 108 5 107 6 106 7 105 8 104 9 102 101 103 100 104 99 105 98 106 97 107 96 108 95 109 94 110 92 91 93 90 94 89 95 88 96 87 97 86 98 85 99 84 100 82 81 83 80 84 79 85 78 86 77 87 76 88 75 89 74 90 72 71 73 70 74 69 75 68 76 67 77 66 78 65 79 64 80 62 61 63 60 64 59 65 58 66 57 67 56 ...
result:
ok correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3892kb
input:
462 86
output:
462 2 461 3 460 4 459 5 458 6 457 7 456 8 455 9 454 10 453 11 452 12 451 13 450 14 449 15 448 16 447 17 446 18 445 19 444 20 443 21 442 22 441 23 440 24 439 25 438 26 437 27 436 28 435 29 434 30 433 31 432 32 431 33 430 34 429 35 428 36 427 37 426 38 425 39 424 40 423 41 422 42 421 43 420 44 43 45 4...
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
262 43
output:
262 2 261 3 260 4 259 5 258 6 257 7 256 8 255 9 254 10 253 11 252 12 251 13 250 14 249 15 248 16 247 17 246 18 245 19 244 20 243 21 242 22 240 239 241 238 242 237 243 236 244 235 245 234 246 233 247 232 248 231 249 230 250 229 251 228 252 227 253 226 254 225 255 224 256 223 257 222 258 221 259 220 2...
result:
ok correct
Test #13:
score: 0
Accepted
time: 4ms
memory: 4184kb
input:
672 125
output:
672 2 671 3 670 4 669 5 668 6 667 7 666 8 665 9 664 10 663 11 662 12 661 13 660 14 659 15 658 16 657 17 656 18 655 19 654 20 653 21 652 22 651 23 650 24 649 25 648 26 647 27 646 28 645 29 644 30 643 31 642 32 641 33 640 34 639 35 638 36 637 37 636 38 635 39 634 40 633 41 632 42 631 43 630 44 629 45 ...
result:
ok correct
Test #14:
score: 0
Accepted
time: 5ms
memory: 4168kb
input:
747 127
output:
747 2 746 3 745 4 744 5 743 6 742 7 741 8 740 9 739 10 738 11 737 12 736 13 735 14 734 15 733 16 732 17 731 18 730 19 729 20 728 21 727 22 726 23 725 24 724 25 723 26 722 27 721 28 720 29 719 30 718 31 717 32 716 33 715 34 714 35 713 36 712 37 711 38 710 39 709 40 708 41 707 42 706 43 705 44 704 45 ...
result:
ok correct
Test #15:
score: 0
Accepted
time: 2ms
memory: 3912kb
input:
404 72
output:
404 2 403 3 402 4 401 5 400 6 399 7 398 8 397 9 396 10 395 11 394 12 393 13 392 14 391 15 390 16 389 17 388 18 387 19 386 20 385 21 384 22 383 23 382 24 381 25 380 26 379 27 378 28 377 29 376 30 375 31 374 32 373 33 372 34 371 35 370 36 369 38 37 39 36 40 35 41 34 42 33 43 32 44 31 45 30 46 29 47 28...
result:
ok correct
Subtask #4:
score: 20
Accepted
Test #16:
score: 20
Accepted
time: 16ms
memory: 5200kb
input:
1777 229
output:
1777 2 1776 3 1775 4 1774 5 1773 6 1772 7 1771 8 1770 9 1769 10 1768 11 1767 12 1766 13 1765 14 1764 15 1763 16 1762 17 1761 18 1760 19 1759 20 1758 21 1757 22 1756 23 1755 24 1754 25 1753 26 1752 27 1751 28 1750 29 1749 30 1748 31 1747 32 1746 33 1745 34 1744 35 1743 36 1742 37 1741 38 1740 39 1739...
result:
ok correct
Test #17:
score: 0
Accepted
time: 12ms
memory: 4224kb
input:
1129 229
output:
1129 2 1128 3 1127 4 1126 5 1125 6 1124 7 1123 8 1122 9 1121 10 1120 11 1119 12 1118 13 1117 14 1116 15 1115 16 1114 17 1113 18 1112 19 1111 20 1110 21 1109 22 1108 23 1107 24 1106 25 1105 26 1104 27 1103 28 1102 29 1101 30 1100 31 1099 32 1098 33 1097 34 1096 35 1095 36 1094 37 1093 38 1092 39 1091...
result:
ok correct
Test #18:
score: 0
Accepted
time: 43ms
memory: 8524kb
input:
4253 233
output:
4253 2 4252 3 4251 4 4250 5 4249 6 4248 7 4247 8 4246 9 4245 10 4244 11 4243 12 4242 13 4241 14 4240 15 4239 16 4238 17 4237 18 4236 19 4235 20 4234 21 4233 22 4232 23 4231 24 4230 25 4229 26 4228 27 4227 28 4226 29 4225 30 4224 31 4223 32 4222 33 4221 34 4220 35 4219 36 4218 37 4217 38 4216 39 4215...
result:
ok correct
Test #19:
score: 0
Accepted
time: 26ms
memory: 7648kb
input:
2311 233
output:
2311 2 2310 3 2309 4 2308 5 2307 6 2306 7 2305 8 2304 9 2303 10 2302 11 2301 12 2300 13 2299 14 2298 15 2297 16 2296 17 2295 18 2294 19 2293 20 2292 21 2291 22 2290 23 2289 24 2288 25 2287 26 2286 27 2285 28 2284 29 2283 30 2282 31 2281 32 2280 33 2279 34 2278 35 2277 36 2276 37 2275 38 2274 39 2273...
result:
ok correct
Test #20:
score: 0
Accepted
time: 33ms
memory: 7600kb
input:
6712 114
output:
6712 2 6711 3 6710 4 6709 5 6708 6 6707 7 6706 8 6705 9 6704 10 6703 11 6702 12 6701 13 6700 14 6699 15 6698 16 6697 17 6696 18 6695 19 6694 20 6693 21 6692 22 6691 23 6690 24 6689 25 6688 26 6687 27 6686 28 6685 29 6684 30 6683 31 6682 32 6681 33 6680 34 6679 35 6678 36 6677 37 6676 38 6675 39 6674...
result:
ok correct
Test #21:
score: 0
Accepted
time: 3ms
memory: 3916kb
input:
1050 114
output:
1050 2 1049 3 1048 4 1047 5 1046 6 1045 7 1044 8 1043 9 1042 10 1041 11 1040 12 1039 13 1038 14 1037 15 1036 16 1035 17 1034 18 1033 19 1032 20 1031 21 1030 22 1029 23 1028 24 1027 25 1026 26 1025 27 1024 28 1023 29 1022 30 1021 31 1020 32 1019 33 1018 34 1017 35 1016 36 1015 37 1014 38 1013 39 1012...
result:
ok correct
Test #22:
score: 0
Accepted
time: 29ms
memory: 8804kb
input:
1132 514
output:
1132 2 1131 3 1130 4 1129 5 1128 6 1127 7 1126 8 1125 9 1124 10 1123 11 1122 12 1121 13 1120 14 1119 15 1118 16 1117 17 1116 18 1115 19 1114 20 1113 21 1112 22 1111 23 1110 24 1109 25 1108 26 1107 27 1106 28 1105 29 1104 30 1103 31 1102 32 1101 33 1100 34 1099 35 1098 36 1097 37 1096 38 1095 39 1094...
result:
ok correct
Test #23:
score: 0
Accepted
time: 28ms
memory: 9072kb
input:
1130 514
output:
1130 2 1129 3 1128 4 1127 5 1126 6 1125 7 1124 8 1123 9 1122 10 1121 11 1120 12 1119 13 1118 14 1117 15 1116 16 1115 17 1114 18 1113 19 1112 20 1111 21 1110 22 1109 23 1108 24 1107 25 1106 26 1105 27 1104 28 1103 29 1102 30 1101 31 1100 32 1099 33 1098 34 1097 35 1096 36 1095 37 1094 38 1093 39 1092...
result:
ok correct
Subtask #5:
score: 35
Accepted
Dependency #1:
100%
Accepted
Dependency #3:
100%
Accepted
Dependency #4:
100%
Accepted
Test #24:
score: 35
Accepted
time: 27ms
memory: 8328kb
input:
1151 564
output:
1151 2 1150 3 1149 4 1148 5 1147 6 1146 7 1145 8 1144 9 1143 10 1142 11 1141 12 1140 13 1139 14 1138 15 1137 16 1136 17 1135 18 1134 19 1133 20 1132 21 1131 22 1130 23 1129 24 1128 25 1127 26 1126 27 1125 28 1124 29 1123 30 1122 31 1121 32 1120 33 1119 34 1118 35 1117 36 1116 37 1115 38 1114 39 1113...
result:
ok correct
Test #25:
score: 0
Accepted
time: 22ms
memory: 8276kb
input:
1042 511
output:
1042 2 1041 3 1040 4 1039 5 1038 6 1037 7 1036 8 1035 9 1034 10 1033 11 1032 12 1031 13 1030 14 1029 15 1028 16 1027 17 1026 18 1025 19 1024 20 1023 21 1022 22 1021 23 1020 24 1019 25 1018 26 1017 27 1016 28 1015 29 1014 30 1013 31 1012 32 1011 33 1010 34 1009 35 1008 36 1007 37 1006 38 1005 39 1004...
result:
ok correct
Test #26:
score: 0
Accepted
time: 32ms
memory: 8028kb
input:
1170 575
output:
1170 2 1169 3 1168 4 1167 5 1166 6 1165 7 1164 8 1163 9 1162 10 1161 11 1160 12 1159 13 1158 14 1157 15 1156 16 1155 17 1154 18 1153 19 1152 20 1151 21 1150 22 1149 23 1148 24 1147 25 1146 26 1145 27 1144 28 1143 29 1142 30 1141 31 1140 32 1139 33 1138 34 1137 35 1136 36 1135 37 1134 38 1133 39 1132...
result:
ok correct
Test #27:
score: 0
Accepted
time: 36ms
memory: 8628kb
input:
1249 615
output:
1249 2 1248 3 1247 4 1246 5 1245 6 1244 7 1243 8 1242 9 1241 10 1240 11 1239 12 1238 13 1237 14 1236 15 1235 16 1234 17 1233 18 1232 19 1231 20 1230 21 1229 22 1228 23 1227 24 1226 25 1225 26 1224 27 1223 28 1222 29 1221 30 1220 31 1219 32 1218 33 1217 34 1216 35 1215 36 1214 37 1213 38 1212 39 1211...
result:
ok correct
Test #28:
score: 0
Accepted
time: 13ms
memory: 5412kb
input:
746 364
output:
746 2 745 3 744 4 743 5 742 6 741 7 740 8 739 9 738 10 737 11 736 12 735 13 734 14 733 15 732 16 731 17 730 18 729 19 728 20 727 21 726 22 725 23 724 24 723 25 722 26 721 27 720 28 719 29 718 30 717 31 716 32 715 33 714 34 713 35 712 36 711 37 710 38 709 39 708 40 707 41 706 42 705 43 704 44 703 45 ...
result:
ok correct
Test #29:
score: 0
Accepted
time: 27ms
memory: 8108kb
input:
1146 565
output:
1146 2 1145 3 1144 4 1143 5 1142 6 1141 7 1140 8 1139 9 1138 10 1137 11 1136 12 1135 13 1134 14 1133 15 1132 16 1131 17 1130 18 1129 19 1128 20 1127 21 1126 22 1125 23 1124 24 1123 25 1122 26 1121 27 1120 28 1119 29 1118 30 1117 31 1116 32 1115 33 1114 34 1113 35 1112 36 1111 37 1110 38 1109 39 1108...
result:
ok correct
Test #30:
score: 0
Accepted
time: 3ms
memory: 4260kb
input:
554 265
output:
554 2 553 3 552 4 551 5 550 6 549 7 548 8 547 9 546 10 545 11 544 12 543 13 542 14 541 15 540 16 539 17 538 18 537 19 536 20 535 21 534 22 533 23 532 24 531 25 530 26 529 27 528 28 527 29 526 30 525 31 524 32 523 33 522 34 521 35 520 36 519 37 518 38 517 39 516 40 515 41 514 42 513 43 512 44 511 45 ...
result:
ok correct
Test #31:
score: 0
Accepted
time: 26ms
memory: 7580kb
input:
1061 519
output:
1061 2 1060 3 1059 4 1058 5 1057 6 1056 7 1055 8 1054 9 1053 10 1052 11 1051 12 1050 13 1049 14 1048 15 1047 16 1046 17 1045 18 1044 19 1043 20 1042 21 1041 22 1040 23 1039 24 1038 25 1037 26 1036 27 1035 28 1034 29 1033 30 1032 31 1031 32 1030 33 1029 34 1028 35 1027 36 1026 37 1025 38 1024 39 1023...
result:
ok correct
Test #32:
score: 0
Accepted
time: 1ms
memory: 3872kb
input:
173 78
output:
173 2 172 3 171 4 170 5 169 6 168 7 167 8 166 9 165 10 164 11 163 12 162 13 161 14 160 15 159 16 158 17 157 18 156 19 155 20 154 21 153 22 152 23 151 24 150 25 149 26 148 27 147 28 146 29 145 30 144 31 143 32 142 33 141 34 140 35 139 36 138 37 137 38 136 39 135 40 39 41 38 42 37 43 36 44 35 45 34 46...
result:
ok correct
Test #33:
score: 0
Accepted
time: 13ms
memory: 5236kb
input:
884 430
output:
884 2 883 3 882 4 881 5 880 6 879 7 878 8 877 9 876 10 875 11 874 12 873 13 872 14 871 15 870 16 869 17 868 18 867 19 866 20 865 21 864 22 863 23 862 24 861 25 860 26 859 27 858 28 857 29 856 30 855 31 854 32 853 33 852 34 851 35 850 36 849 37 848 38 847 39 846 40 845 41 844 42 843 43 842 44 841 45 ...
result:
ok correct
Test #34:
score: 0
Accepted
time: 28ms
memory: 7712kb
input:
1089 537
output:
1089 2 1088 3 1087 4 1086 5 1085 6 1084 7 1083 8 1082 9 1081 10 1080 11 1079 12 1078 13 1077 14 1076 15 1075 16 1074 17 1073 18 1072 19 1071 20 1070 21 1069 22 1068 23 1067 24 1066 25 1065 26 1064 27 1063 28 1062 29 1061 30 1060 31 1059 32 1058 33 1057 34 1056 35 1055 36 1054 37 1053 38 1052 39 1051...
result:
ok correct
Test #35:
score: 0
Accepted
time: 5ms
memory: 3880kb
input:
433 207
output:
433 2 432 3 431 4 430 5 429 6 428 7 427 8 426 9 425 10 424 11 423 12 422 13 421 14 420 15 419 16 418 17 417 18 416 19 415 20 414 21 413 22 412 23 411 24 410 25 409 26 408 27 407 28 406 29 405 30 404 31 403 32 402 33 401 34 400 35 399 36 398 37 397 38 396 39 395 40 394 41 393 42 392 43 391 44 390 45 ...
result:
ok correct