QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#431748 | #7688. Alea Iacta Est | ucup-team3057 | WA | 129ms | 34552kb | C++17 | 11.5kb | 2024-06-06 01:31:13 | 2024-06-06 01:31:13 |
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: 1ms
memory: 3760kb
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: 3616kb
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: 3640kb
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: 3628kb
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: 3620kb
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: 2ms
memory: 3704kb
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: 129ms
memory: 3748kb
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: 44ms
memory: 14972kb
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: 34ms
memory: 10856kb
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: 26ms
memory: 10896kb
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: 43ms
memory: 10872kb
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: 110ms
memory: 31504kb
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: 7ms
memory: 16848kb
input:
1 1000000 1
output:
1000 1 2 3 4 5 26 27 28 29 30 51 52 53 54 55 76 77 78 79 80 101 102 103 104 105 3126 3127 3128 3129 3130 3151 3152 3153 3154 3155 3176 3177 3178 3179 3180 3201 3202 3203 3204 3205 3226 3227 3228 3229 3230 6251 6252 6253 6254 6255 6276 6277 6278 6279 6280 6301 6302 6303 6304 6305 6326 6327 6328 6329 ...
result:
ok Correct. (1 test case)
Test #14:
score: 0
Accepted
time: 11ms
memory: 16980kb
input:
1 1000000 2
output:
1250 1 2 2 3 3 4 4 5 5 6 26 27 27 28 28 29 29 30 30 31 51 52 52 53 53 54 54 55 55 56 76 77 77 78 78 79 79 80 80 81 101 102 102 103 103 104 104 105 105 106 126 127 127 128 128 129 129 130 130 131 151 152 152 153 153 154 154 155 155 156 176 177 177 178 178 179 179 180 180 181 201 202 202 203 203 204 2...
result:
ok Correct. (1 test case)
Test #15:
score: 0
Accepted
time: 3ms
memory: 16912kb
input:
1 3 1000000
output:
1600 1 2 3 4 5 3126 3127 3128 3129 3130 6251 6252 6253 6254 6255 9376 9377 9378 9379 9380 12501 12502 12503 12504 12505 15626 15627 15628 15629 15630 18751 18752 18753 18754 18755 21876 21877 21878 21879 21880 25001 25002 25003 25004 25005 28126 28127 28128 28129 28130 31251 31252 31253 31254 31255 ...
result:
ok Correct. (1 test case)
Test #16:
score: 0
Accepted
time: 4ms
memory: 18044kb
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: 91ms
memory: 34180kb
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: 14704kb
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: 4ms
memory: 14600kb
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: 14760kb
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: 5ms
memory: 14668kb
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: 95ms
memory: 34552kb
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: 4ms
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: 4ms
memory: 14960kb
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: 0ms
memory: 14892kb
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: 4ms
memory: 15036kb
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: 81ms
memory: 24756kb
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: 12620kb
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 5006 5149 5292 5435 5578 5721 5864 6007 6150 6293 6436 6579 6722 6865 7008 7151 7294 7437 7580 7723 7866 8009 8152 8295 8438 8581 ...
result:
ok Correct. (1 test case)
Test #29:
score: 0
Accepted
time: 4ms
memory: 13164kb
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: 12444kb
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: 9ms
memory: 12988kb
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: 17692kb
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: 11168kb
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: 3ms
memory: 11036kb
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: 0ms
memory: 9832kb
input:
1 3 524288
output:
1024 1 2 9 10 17 18 25 26 33 34 41 42 49 50 57 58 129 130 137 138 145 146 153 154 161 162 169 170 177 178 185 186 4097 4098 4105 4106 4113 4114 4121 4122 4129 4130 4137 4138 4145 4146 4153 4154 4225 4226 4233 4234 4241 4242 4249 4250 4257 4258 4265 4266 4273 4274 4281 4282 16385 16386 16393 16394 16...
result:
ok Correct. (1 test case)
Test #36:
score: 0
Accepted
time: 0ms
memory: 10468kb
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: 60ms
memory: 19600kb
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: 7ms
memory: 12224kb
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: 10708kb
input:
1 2 531441
output:
729 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 730 731 732 739 740 741 748 749 750 757 758 759 766 767 768 775 776 777 784 785 786 793 794 795 802 803 804 1459 1460 1461 1468 1469 1470 1477 1478 1479 1486 1487 1488 1495 1496 1497 1504 1505 1506 1513 1514 1515 1522 ...
result:
ok Correct. (1 test case)
Test #40:
score: 0
Accepted
time: 0ms
memory: 10776kb
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: 0ms
memory: 9932kb
input:
1 531441 4
output:
1458 1 2 10 11 19 20 28 29 37 38 46 47 55 56 64 65 73 74 244 245 253 254 262 263 271 272 280 281 289 290 298 299 307 308 316 317 487 488 496 497 505 506 514 515 523 524 532 533 541 542 550 551 559 560 6562 6563 6571 6572 6580 6581 6589 6590 6598 6599 6607 6608 6616 6617 6625 6626 6634 6635 6805 6806...
result:
ok Correct. (1 test case)
Test #42:
score: 0
Accepted
time: 51ms
memory: 17812kb
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: 9564kb
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: 10092kb
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: 9376kb
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: 5ms
memory: 10032kb
input:
1 4 510510
output:
1430 1 3 18 20 35 37 52 54 69 71 86 88 103 105 120 122 137 139 154 156 171 173 188 190 205 207 222 224 239 241 256 258 273 275 290 292 307 309 324 326 341 343 358 360 375 377 392 394 409 411 426 428 443 445 460 462 477 479 494 496 511 513 528 530 545 547 562 564 579 581 596 598 613 615 630 632 647 6...
result:
ok Correct. (1 test case)
Test #47:
score: 0
Accepted
time: 31ms
memory: 11700kb
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: 3ms
memory: 6868kb
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 244 245 ...
result:
ok Correct. (1 test case)
Test #49:
score: 0
Accepted
time: 4ms
memory: 7052kb
input:
1 279936 2
output:
768 1 2 2 3 3 4 2188 2189 2189 2190 2190 2191 4375 4376 4376 4377 4377 4378 6562 6563 6563 6564 6564 6565 8749 8750 8750 8751 8751 8752 10936 10937 10937 10938 10938 10939 13123 13124 13124 13125 13125 13126 15310 15311 15311 15312 15312 15313 17497 17498 17498 17499 17499 17500 19684 19685 19685 19...
result:
ok Correct. (1 test case)
Test #50:
score: 0
Accepted
time: 0ms
memory: 6444kb
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 2917 2918 2918 2919 2919 2919 2920 2920 2920 2921 2921 2921 2922 2922 2922 2923 2923 2923 2924 2924 2924...
result:
ok Correct. (1 test case)
Test #51:
score: 0
Accepted
time: 0ms
memory: 7768kb
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: 63ms
memory: 29244kb
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: 16880kb
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: 6ms
memory: 16692kb
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: 16864kb
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: 0ms
memory: 16640kb
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: 108ms
memory: 30864kb
input:
1 1000000 999999
output:
999000 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 2...
result:
wrong answer Jury has a better answer. (test case 1)