QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#398585#5699. 单调上升路径Qiuly100 ✓16ms4792kbC++232.0kb2024-04-25 15:25:332024-04-25 15:25:34

詳細信息

Test #1:

score: 10
Accepted
time: 1ms
memory: 3748kb

input:

8

output:

13 4 18 11 23 9 28
17 10 22 8 27 1
21 7 26 2 14
25 3 15 5
16 6 19
20 12
24

result:

ok your answer is completely correct

Test #2:

score: 10
Accepted
time: 0ms
memory: 3744kb

input:

18

output:

1 27 19 45 37 63 55 81 73 99 91 117 109 135 127 153 145
18 44 36 62 54 80 72 98 90 116 108 134 126 152 144 10
35 61 53 79 71 97 89 115 107 133 125 151 143 11 2
52 78 70 96 88 114 106 132 124 150 142 12 3 28
69 95 87 113 105 131 123 149 141 13 4 29 20
86 112 104 130 122 148 140 14 5 30 21 46
103 129 ...

result:

ok your answer is completely correct

Test #3:

score: 10
Accepted
time: 1ms
memory: 3764kb

input:

42

output:

1 63 43 105 85 147 127 189 169 231 211 273 253 315 295 357 337 399 379 441 421 483 463 525 505 567 547 609 589 651 631 693 673 735 715 777 757 819 799 861 841
42 104 84 146 126 188 168 230 210 272 252 314 294 356 336 398 378 440 420 482 462 524 504 566 546 608 588 650 630 692 672 734 714 776 756 818...

result:

ok your answer is completely correct

Test #4:

score: 10
Accepted
time: 1ms
memory: 4036kb

input:

72

output:

1261 36 1298 107 1335 73 1372 144 1409 180 1446 251 1483 217 1520 288 1557 324 1594 395 1631 361 1668 432 1705 468 1742 539 1779 505 1816 576 1853 612 1890 683 1927 649 1964 720 2001 756 2038 827 2075 793 2112 864 2149 900 2186 971 2223 937 2260 1008 2297 1044 2334 1115 2371 1081 2408 1152 2445 1188...

result:

ok your answer is completely correct

Test #5:

score: 10
Accepted
time: 1ms
memory: 3888kb

input:

100

output:

2451 50 2502 149 2553 101 2604 200 2655 250 2706 349 2757 301 2808 400 2859 450 2910 549 2961 501 3012 600 3063 650 3114 749 3165 701 3216 800 3267 850 3318 949 3369 901 3420 1000 3471 1050 3522 1149 3573 1101 3624 1200 3675 1250 3726 1349 3777 1301 3828 1400 3879 1450 3930 1549 3981 1501 4032 1600 ...

result:

ok your answer is completely correct

Test #6:

score: 10
Accepted
time: 0ms
memory: 4168kb

input:

198

output:

1 297 199 495 397 693 595 891 793 1089 991 1287 1189 1485 1387 1683 1585 1881 1783 2079 1981 2277 2179 2475 2377 2673 2575 2871 2773 3069 2971 3267 3169 3465 3367 3663 3565 3861 3763 4059 3961 4257 4159 4455 4357 4653 4555 4851 4753 5049 4951 5247 5149 5445 5347 5643 5545 5841 5743 6039 5941 6237 61...

result:

ok your answer is completely correct

Test #7:

score: 10
Accepted
time: 0ms
memory: 4360kb

input:

296

output:

21757 148 21906 443 22055 297 22204 592 22353 740 22502 1035 22651 889 22800 1184 22949 1332 23098 1627 23247 1481 23396 1776 23545 1924 23694 2219 23843 2073 23992 2368 24141 2516 24290 2811 24439 2665 24588 2960 24737 3108 24886 3403 25035 3257 25184 3552 25333 3700 25482 3995 25631 3849 25780 414...

result:

ok your answer is completely correct

Test #8:

score: 10
Accepted
time: 5ms
memory: 4364kb

input:

394

output:

1 591 395 985 789 1379 1183 1773 1577 2167 1971 2561 2365 2955 2759 3349 3153 3743 3547 4137 3941 4531 4335 4925 4729 5319 5123 5713 5517 6107 5911 6501 6305 6895 6699 7289 7093 7683 7487 8077 7881 8471 8275 8865 8669 9259 9063 9653 9457 10047 9851 10441 10245 10835 10639 11229 11033 11623 11427 120...

result:

ok your answer is completely correct

Test #9:

score: 10
Accepted
time: 16ms
memory: 4628kb

input:

490

output:

1 735 491 1225 981 1715 1471 2205 1961 2695 2451 3185 2941 3675 3431 4165 3921 4655 4411 5145 4901 5635 5391 6125 5881 6615 6371 7105 6861 7595 7351 8085 7841 8575 8331 9065 8821 9555 9311 10045 9801 10535 10291 11025 10781 11515 11271 12005 11761 12495 12251 12985 12741 13475 13231 13965 13721 1445...

result:

ok your answer is completely correct

Test #10:

score: 10
Accepted
time: 10ms
memory: 4792kb

input:

498

output:

1 747 499 1245 997 1743 1495 2241 1993 2739 2491 3237 2989 3735 3487 4233 3985 4731 4483 5229 4981 5727 5479 6225 5977 6723 6475 7221 6973 7719 7471 8217 7969 8715 8467 9213 8965 9711 9463 10209 9961 10707 10459 11205 10957 11703 11455 12201 11953 12699 12451 13197 12949 13695 13447 14193 13945 1469...

result:

ok your answer is completely correct

Extra Test:

score: 0
Extra Test Passed