QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#431749 | #7688. Alea Iacta Est | ucup-team3057 | WA | 113ms | 34580kb | C++17 | 11.5kb | 2024-06-06 01:31:47 | 2024-06-06 01:31:47 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3752kb
input:
3 2 8 1 9 2 9
output:
4 1 2 2 3 4 1 3 5 7 3 1 2 3 3 1 4 7 3 1 4 7 6 1 2 2 3 3 4
result:
ok Correct. (3 test cases)
Test #2:
score: 0
Accepted
time: 6ms
memory: 3692kb
input:
1 40013 40013
output:
80026 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 ...
result:
ok Correct. (1 test case)
Test #3:
score: 0
Accepted
time: 2ms
memory: 3680kb
input:
1 40013 1
output:
2 1 1 40013 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...
result:
ok Correct. (1 test case)
Test #4:
score: 0
Accepted
time: 2ms
memory: 3700kb
input:
1 2 40013
output:
4 1 1 2 2 40013 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98...
result:
ok Correct. (1 test case)
Test #5:
score: 0
Accepted
time: 2ms
memory: 3688kb
input:
1 3 40013
output:
6 1 1 2 2 3 3 40013 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 9...
result:
ok Correct. (1 test case)
Test #6:
score: 0
Accepted
time: 3ms
memory: 3812kb
input:
1 4 40013
output:
8 1 1 2 2 3 3 4 4 40013 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ...
result:
ok Correct. (1 test case)
Test #7:
score: 0
Accepted
time: 111ms
memory: 3936kb
input:
1 999983 999983
output:
1999966 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 5...
result:
ok Correct. (1 test case)
Test #8:
score: 0
Accepted
time: 42ms
memory: 14936kb
input:
1 1 999983
output:
2 1 1 999983 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
result:
ok Correct. (1 test case)
Test #9:
score: 0
Accepted
time: 49ms
memory: 10976kb
input:
1 2 999983
output:
4 1 1 2 2 999983 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 9...
result:
ok Correct. (1 test case)
Test #10:
score: 0
Accepted
time: 34ms
memory: 10956kb
input:
1 999983 3
output:
6 1 1 2 2 3 3 999983 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 ...
result:
ok Correct. (1 test case)
Test #11:
score: 0
Accepted
time: 45ms
memory: 12924kb
input:
1 999983 4
output:
8 1 1 2 2 3 3 4 4 999983 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95...
result:
ok Correct. (1 test case)
Test #12:
score: 0
Accepted
time: 112ms
memory: 33372kb
input:
1 1000000 1000000
output:
1000000 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 7 7 7 7 7 8 8 8 8 8 9 9 9 9 9 10 10 10 10 10 11 11 11 11 11 12 12 12 12 12 13 13 13 13 13 14 14 14 14 14 15 15 15 15 15 16 16 16 16 16 17 17 17 17 17 18 18 18 18 18 19 19 19 19 19 20 20 20 20 20 21 21 21 21 21 22 22 22 22 22 23 23 23 23 23 24 24 24 24 ...
result:
ok Correct. (1 test case)
Test #13:
score: 0
Accepted
time: 8ms
memory: 16416kb
input:
1 1000000 1
output:
1000 1 6 11 16 21 626 631 636 641 646 1251 1256 1261 1266 1271 1876 1881 1886 1891 1896 2501 2506 2511 2516 2521 3126 3131 3136 3141 3146 3751 3756 3761 3766 3771 4376 4381 4386 4391 4396 5001 5006 5011 5016 5021 5626 5631 5636 5641 5646 6251 6256 6261 6266 6271 6876 6881 6886 6891 6896 7501 7506 75...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 11ms
memory: 16940kb
input:
1 1000000 2
output:
1250 1 2 6 7 11 12 16 17 21 22 26 27 31 32 36 37 41 42 46 47 51 52 56 57 61 62 66 67 71 72 76 77 81 82 86 87 91 92 96 97 101 102 106 107 111 112 116 117 121 122 626 627 631 632 636 637 641 642 646 647 651 652 656 657 661 662 666 667 671 672 676 677 681 682 686 687 691 692 696 697 701 702 706 707 711...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 3ms
memory: 16868kb
input:
1 3 1000000
output:
1600 1 2 3 4 5 626 627 628 629 630 1251 1252 1253 1254 1255 1876 1877 1878 1879 1880 2501 2502 2503 2504 2505 15626 15627 15628 15629 15630 16251 16252 16253 16254 16255 16876 16877 16878 16879 16880 17501 17502 17503 17504 17505 18126 18127 18128 18129 18130 31251 31252 31253 31254 31255 31876 3187...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 0ms
memory: 18084kb
input:
1 4 1000000
output:
2000 1 2 3 4 126 127 128 129 251 252 253 254 376 377 378 379 501 502 503 504 626 627 628 629 751 752 753 754 876 877 878 879 1001 1002 1003 1004 1126 1127 1128 1129 1251 1252 1253 1254 1376 1377 1378 1379 1501 1502 1503 1504 1626 1627 1628 1629 1751 1752 1753 1754 1876 1877 1878 1879 2001 2002 2003 ...
result:
ok Correct. (1 test case)
Test #17:
score: 0
Accepted
time: 113ms
memory: 34336kb
input:
1 988027 988027
output:
988027 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15...
result:
ok Correct. (1 test case)
Test #18:
score: 0
Accepted
time: 0ms
memory: 14760kb
input:
1 988027 1
output:
991 1 998 1995 2992 3989 4986 5983 6980 7977 8974 9971 10968 11965 12962 13959 14956 15953 16950 17947 18944 19941 20938 21935 22932 23929 24926 25923 26920 27917 28914 29911 30908 31905 32902 33899 34896 35893 36890 37887 38884 39881 40878 41875 42872 43869 44866 45863 46860 47857 48854 49851 50848...
result:
ok Correct. (1 test case)
Test #19:
score: 0
Accepted
time: 6ms
memory: 14664kb
input:
1 2 988027
output:
997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok Correct. (1 test case)
Test #20:
score: 0
Accepted
time: 4ms
memory: 14732kb
input:
1 3 988027
output:
997 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok Correct. (1 test case)
Test #21:
score: 0
Accepted
time: 0ms
memory: 14744kb
input:
1 4 988027
output:
1982 1 3 998 1000 1995 1997 2992 2994 3989 3991 4986 4988 5983 5985 6980 6982 7977 7979 8974 8976 9971 9973 10968 10970 11965 11967 12962 12964 13959 13961 14956 14958 15953 15955 16950 16952 17947 17949 18944 18946 19941 19943 20938 20940 21935 21937 22932 22934 23929 23931 24926 24928 25923 25925 ...
result:
ok Correct. (1 test case)
Test #22:
score: 0
Accepted
time: 110ms
memory: 34580kb
input:
1 995779 995779
output:
995779 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15...
result:
ok Correct. (1 test case)
Test #23:
score: 0
Accepted
time: 9ms
memory: 15028kb
input:
1 1 995779
output:
983 1 1014 2027 3040 4053 5066 6079 7092 8105 9118 10131 11144 12157 13170 14183 15196 16209 17222 18235 19248 20261 21274 22287 23300 24313 25326 26339 27352 28365 29378 30391 31404 32417 33430 34443 35456 36469 37482 38495 39508 40521 41534 42547 43560 44573 45586 46599 47612 48625 49638 50651 516...
result:
ok Correct. (1 test case)
Test #24:
score: 0
Accepted
time: 8ms
memory: 15008kb
input:
1 995779 2
output:
1966 1 2 1014 1015 2027 2028 3040 3041 4053 4054 5066 5067 6079 6080 7092 7093 8105 8106 9118 9119 10131 10132 11144 11145 12157 12158 13170 13171 14183 14184 15196 15197 16209 16210 17222 17223 18235 18236 19248 19249 20261 20262 21274 21275 22287 22288 23300 23301 24313 24314 25326 25327 26339 263...
result:
ok Correct. (1 test case)
Test #25:
score: 0
Accepted
time: 4ms
memory: 15168kb
input:
1 995779 3
output:
2949 1 2 3 1014 1015 1016 2027 2028 2029 3040 3041 3042 4053 4054 4055 5066 5067 5068 6079 6080 6081 7092 7093 7094 8105 8106 8107 9118 9119 9120 10131 10132 10133 11144 11145 11146 12157 12158 12159 13170 13171 13172 14183 14184 14185 15196 15197 15198 16209 16210 16211 17222 17223 17224 18235 1823...
result:
ok Correct. (1 test case)
Test #26:
score: 0
Accepted
time: 8ms
memory: 14968kb
input:
1 995779 4
output:
1966 1 2 1014 1015 2027 2028 3040 3041 4053 4054 5066 5067 6079 6080 7092 7093 8105 8106 9118 9119 10131 10132 11144 11145 12157 12158 13170 13171 14183 14184 15196 15197 16209 16210 17222 17223 18235 18236 19248 19249 20261 20262 21274 21275 22287 22288 23300 23301 24313 24314 25326 25327 26339 263...
result:
ok Correct. (1 test case)
Test #27:
score: 0
Accepted
time: 89ms
memory: 25392kb
input:
1 720720 720720
output:
720720 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15...
result:
ok Correct. (1 test case)
Test #28:
score: 0
Accepted
time: 0ms
memory: 11564kb
input:
1 720720 1
output:
840 1 144 287 430 573 716 859 1002 1145 1288 1431 1574 1717 1860 2003 2146 2289 2432 2575 2718 2861 3004 3147 3290 3433 3576 3719 3862 4005 4148 4291 4434 4577 4720 4863 15016 15159 15302 15445 15588 15731 15874 16017 16160 16303 16446 16589 16732 16875 17018 17161 17304 17447 17590 17733 17876 1801...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 0ms
memory: 13620kb
input:
1 2 720720
output:
1170 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 1002 1003 1003 1004 1004 1005 1005 1006 1006 1007 1007 1008 1008 1009 1009 1010 1010 1011 1011 1012 1012 1013 1013 1014 1014 1015 2003 2004 2004 2005 2005 2006 2006 2007 2007 2008 2008 2009 2009 2010 2010 2011 2011 2012 2012 2013 2013...
result:
ok Correct. (1 test case)
Test #30:
score: 0
Accepted
time: 4ms
memory: 11756kb
input:
1 3 720720
output:
1456 1 2 3 4 5 6 7 8 9 10 11 12 13 144 145 146 147 148 149 150 151 152 153 154 155 156 287 288 289 290 291 292 293 294 295 296 297 298 299 430 431 432 433 434 435 436 437 438 439 440 441 442 573 574 575 576 577 578 579 580 581 582 583 584 585 716 717 718 719 720 721 722 723 724 725 726 727 728 859 8...
result:
ok Correct. (1 test case)
Test #31:
score: 0
Accepted
time: 0ms
memory: 14748kb
input:
1 4 720720
output:
1680 1 2 3 4 144 145 146 147 287 288 289 290 430 431 432 433 573 574 575 576 716 717 718 719 859 860 861 862 1002 1003 1004 1005 1145 1146 1147 1148 1288 1289 1290 1291 1431 1432 1433 1434 1574 1575 1576 1577 1717 1718 1719 1720 1860 1861 1862 1863 2003 2004 2005 2006 2146 2147 2148 2149 2289 2290 2...
result:
ok Correct. (1 test case)
Test #32:
score: 0
Accepted
time: 61ms
memory: 17416kb
input:
1 524288 524288
output:
524288 1 2 3 3 4 4 5 5 5 6 6 6 7 7 7 7 8 8 8 8 9 9 9 9 9 10 10 10 10 10 11 11 11 11 11 11 12 12 12 12 12 12 13 13 13 13 13 13 13 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15 16 16 16 16 16 16 16 16 17 17 17 17 17 17 17 17 17 18 18 18 18 18 18 18 18 18 19 19 19 19 19 19 19 19 19 19 20 20 20 20 20 20 ...
result:
ok Correct. (1 test case)
Test #33:
score: 0
Accepted
time: 0ms
memory: 11088kb
input:
1 1 524288
output:
512 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok Correct. (1 test case)
Test #34:
score: 0
Accepted
time: 7ms
memory: 11200kb
input:
1 2 524288
output:
1024 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 18 19 19 20 20 21 21 22 22 23 23 24 24 25 25 26 26 27 27 28 28 29 29 30 30 31 31 32 32 33 33 34 34 35 35 36 36 37 37 38 38 39 39 40 40 41 41 42 42 43 43 44 44 45 45 46 46 47 47 48 48 49 49 50 50 51 51 52 52 53 ...
result:
ok Correct. (1 test case)
Test #35:
score: 0
Accepted
time: 3ms
memory: 9916kb
input:
1 3 524288
output:
1024 1 3 5 7 17 19 21 23 33 35 37 39 49 51 53 55 65 67 69 71 81 83 85 87 97 99 101 103 113 115 117 119 129 131 133 135 145 147 149 151 161 163 165 167 177 179 181 183 193 195 197 199 209 211 213 215 225 227 229 231 241 243 245 247 1025 1027 1029 1031 1041 1043 1045 1047 1057 1059 1061 1063 1073 1075...
result:
ok Correct. (1 test case)
Test #36:
score: 0
Accepted
time: 7ms
memory: 10540kb
input:
1 524288 4
output:
1024 1 2 2 3 3 3 4 4 4 4 5 5 5 5 6 6 6 6 7 7 7 7 8 8 8 8 9 9 9 9 10 10 10 10 11 11 11 11 12 12 12 12 13 13 13 13 14 14 14 14 15 15 15 15 16 16 16 16 17 17 17 17 18 18 18 18 19 19 19 19 20 20 20 20 21 21 21 21 22 22 22 22 23 23 23 23 24 24 24 24 25 25 25 25 26 26 26 26 27 27 27 27 28 28 28 28 29 29 2...
result:
ok Correct. (1 test case)
Test #37:
score: 0
Accepted
time: 44ms
memory: 20192kb
input:
1 531441 531441
output:
531441 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 11 11 11 11 11 11 11 11 11 11 11 12 12 12 12 12 12 12 12 12 12 12 12 13 13 13 13 13 13 13 13 13 13 13 13 13 14 14 14 14 14 14 14 14 14 14 14 14 14 14 15 15 15 15 15 15 15 15...
result:
ok Correct. (1 test case)
Test #38:
score: 0
Accepted
time: 3ms
memory: 12476kb
input:
1 1 531441
output:
729 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok Correct. (1 test case)
Test #39:
score: 0
Accepted
time: 3ms
memory: 9508kb
input:
1 2 531441
output:
729 1 2 3 4 5 6 7 8 9 244 245 246 247 248 249 250 251 252 487 488 489 490 491 492 493 494 495 6562 6563 6564 6565 6566 6567 6568 6569 6570 6805 6806 6807 6808 6809 6810 6811 6812 6813 7048 7049 7050 7051 7052 7053 7054 7055 7056 13123 13124 13125 13126 13127 13128 13129 13130 13131 13366 13367 13368...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 10740kb
input:
1 531441 3
output:
729 1 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 10 10 11 11 11 12 12 12 13 13 13 14 14 14 15 15 15 16 16 16 17 17 17 18 18 18 19 19 19 20 20 20 21 21 21 22 22 22 23 23 23 24 24 24 25 25 25 26 26 26 27 27 27 28 28 28 29 29 29 30 30 30 31 31 31 32 32 32 33 33 33 34 34 34 35 35 35 36 36 36 37 37...
result:
ok Correct. (1 test case)
Test #41:
score: 0
Accepted
time: 6ms
memory: 10552kb
input:
1 531441 4
output:
1458 1 3 4 6 7 9 10 12 13 15 16 18 19 21 22 24 25 27 28 30 31 33 34 36 37 39 40 42 43 45 46 48 49 51 52 54 55 57 58 60 61 63 64 66 67 69 70 72 73 75 76 78 79 81 730 732 733 735 736 738 739 741 742 744 745 747 748 750 751 753 754 756 757 759 760 762 763 765 766 768 769 771 772 774 775 777 778 780 781...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 53ms
memory: 17732kb
input:
1 510510 510510
output:
510510 1 2 7 8 13 14 19 20 25 26 211 212 217 218 223 224 229 230 235 236 421 422 427 428 433 434 439 440 445 446 631 632 637 638 643 644 649 650 655 656 841 842 847 848 853 854 859 860 865 866 1051 1052 1057 1058 1063 1064 1069 1070 1075 1076 1261 1262 1267 1268 1273 1274 1279 1280 1285 1286 1471 14...
result:
ok Correct. (1 test case)
Test #43:
score: 0
Accepted
time: 0ms
memory: 9664kb
input:
1 510510 1
output:
714 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310...
result:
ok Correct. (1 test case)
Test #44:
score: 0
Accepted
time: 0ms
memory: 10204kb
input:
1 510510 2
output:
1020 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 11 11 12 12 13 13 14 14 15 15 16 16 17 17 18 17018 17019 17019 17020 17020 17021 17021 17022 17022 17023 17023 17024 17024 17025 17025 17026 17026 17027 17027 17028 17028 17029 17029 17030 17030 17031 17031 17032 17032 17033 17033 17034 17034 17035 34035 ...
result:
ok Correct. (1 test case)
Test #45:
score: 0
Accepted
time: 0ms
memory: 9396kb
input:
1 3 510510
output:
1190 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 731...
result:
ok Correct. (1 test case)
Test #46:
score: 0
Accepted
time: 0ms
memory: 10152kb
input:
1 4 510510
output:
1430 1 2 18 19 35 36 52 53 69 70 86 87 103 104 120 121 137 138 154 155 171 172 188 189 205 206 222 223 239 240 256 257 273 274 290 291 307 308 324 325 341 342 358 359 375 376 392 393 409 410 426 427 443 444 460 461 477 478 494 495 511 512 528 529 545 546 562 563 579 580 596 597 613 614 630 631 647 6...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 33ms
memory: 11888kb
input:
1 279936 279936
output:
279936 1 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 10 10 11 11 11 12 12 12 13 13 13 14 14 14 15 15 15 16 16 16 17 17 17 18 18 18 19 19 19 20 20 20 21 21 21 22 22 22 23 23 23 24 24 24 25 25 25 26 26 26 27 27 27 28 28 28 29 29 29 30 30 30 31 31 31 32 32 32 33 33 33 34 34 34 35 35 35 36 36 36 37...
result:
ok Correct. (1 test case)
Test #48:
score: 0
Accepted
time: 0ms
memory: 6896kb
input:
1 279936 1
output:
486 1 2 3 10 11 12 19 20 21 28 29 30 37 38 39 46 47 48 55 56 57 64 65 66 73 74 75 82 83 84 91 92 93 100 101 102 109 110 111 118 119 120 127 128 129 136 137 138 145 146 147 154 155 156 163 164 165 172 173 174 181 182 183 190 191 192 199 200 201 208 209 210 217 218 219 226 227 228 235 236 237 730 731 ...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 0ms
memory: 7084kb
input:
1 279936 2
output:
768 1 2 28 29 55 56 2188 2189 2215 2216 2242 2243 4375 4376 4402 4403 4429 4430 6562 6563 6589 6590 6616 6617 8749 8750 8776 8777 8803 8804 10936 10937 10963 10964 10990 10991 13123 13124 13150 13151 13177 13178 15310 15311 15337 15338 15364 15365 17497 17498 17524 17525 17551 17552 19684 19685 1971...
result:
ok Correct. (1 test case)
Test #50:
score: 0
Accepted
time: 3ms
memory: 6792kb
input:
1 279936 3
output:
864 1 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 10 10 11 1459 1460 1460 1461 1461 1461 1462 1462 1462 1463 1463 1463 1464 1464 1464 1465 1465 1465 1466 1466 1466 1467 1467 1467 1468 1468 1469 5833 5834 5834 5835 5835 5835 5836 5836 5836 5837 5837 5837 5838 5838 5838 5839 5839 5839 5840 5840 5840...
result:
ok Correct. (1 test case)
Test #51:
score: 0
Accepted
time: 3ms
memory: 7400kb
input:
1 4 279936
output:
972 1 2 3 4 10 11 12 13 19 20 21 22 28 29 30 31 37 38 39 40 46 47 48 49 55 56 57 58 64 65 66 67 73 74 75 76 82 83 84 85 91 92 93 94 100 101 102 103 109 110 111 112 118 119 120 121 127 128 129 130 136 137 138 139 145 146 147 148 154 155 156 157 163 164 165 166 172 173 174 175 181 182 183 184 190 191 ...
result:
ok Correct. (1 test case)
Test #52:
score: 0
Accepted
time: 88ms
memory: 29840kb
input:
1 871933 871933
output:
871933 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 102 103 104 105 106 107 108 109 110...
result:
ok Correct. (1 test case)
Test #53:
score: 0
Accepted
time: 0ms
memory: 17016kb
input:
1 871933 1
output:
101 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 ...
result:
ok Correct. (1 test case)
Test #54:
score: 0
Accepted
time: 0ms
memory: 17092kb
input:
1 2 871933
output:
8633 1 102 203 304 405 506 607 708 809 910 1011 1112 1213 1314 1415 1516 1617 1718 1819 1920 2021 2122 2223 2324 2425 2526 2627 2728 2829 2930 3031 3132 3233 3334 3435 3536 3637 3738 3839 3940 4041 4142 4243 4344 4445 4546 4647 4748 4849 4950 5051 5152 5253 5354 5455 5556 5657 5758 5859 5960 6061 61...
result:
ok Correct. (1 test case)
Test #55:
score: 0
Accepted
time: 4ms
memory: 16880kb
input:
1 3 871933
output:
8633 1 102 203 304 405 506 607 708 809 910 1011 1112 1213 1314 1415 1516 1617 1718 1819 1920 2021 2122 2223 2324 2425 2526 2627 2728 2829 2930 3031 3132 3233 3334 3435 3536 3637 3738 3839 3940 4041 4142 4243 4344 4445 4546 4647 4748 4849 4950 5051 5152 5253 5354 5455 5556 5657 5758 5859 5960 6061 61...
result:
ok Correct. (1 test case)
Test #56:
score: 0
Accepted
time: 3ms
memory: 16876kb
input:
1 4 871933
output:
8633 1 102 203 304 405 506 607 708 809 910 1011 1112 1213 1314 1415 1516 1617 1718 1819 1920 2021 2122 2223 2324 2425 2526 2627 2728 2829 2930 3031 3132 3233 3334 3435 3536 3637 3738 3839 3940 4041 4142 4243 4344 4445 4546 4647 4748 4849 4950 5051 5152 5253 5354 5455 5556 5657 5758 5859 5960 6061 61...
result:
ok Correct. (1 test case)
Test #57:
score: -100
Wrong Answer
time: 103ms
memory: 30868kb
input:
1 1000000 999999
output:
999000 1 2 3 4 5 6 6 7 7 8 8 9 9 10 10 11 11 11 12 12 12 13 13 13 14 14 14 15 15 15 16 16 16 16 17 17 17 17 18 18 18 18 19 19 19 19 20 20 20 20 21 21 21 21 21 22 22 22 22 22 23 23 23 23 23 24 24 24 24 24 25 25 25 25 25 26 26 26 26 26 26 27 27 27 27 27 27 28 28 28 28 28 28 29 29 29 29 29 29 30 30 30 ...
result:
wrong answer Jury has a better answer. (test case 1)