QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#83084#1985. Decorationxiaowuc1AC ✓64ms32428kbC++173.1kb2023-03-01 05:46:072023-03-01 05:46:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 50ms
memory: 32264kb

input:

99999 30

output:

1 2 4 7 9 12 18 24 32 38 42 50 56 64 71 73 75 81 86 90 102 110 118 122 126 138 146 150 162 172

result:

ok correct

Test #2:

score: 0
Accepted
time: 53ms
memory: 32420kb

input:

99999 10

output:

1 2 4 7 9 12 18 24 32 38

result:

ok correct

Test #3:

score: 0
Accepted
time: 50ms
memory: 32240kb

input:

100000 9128

output:

55167 55183 55187 55195 55211 55219 55221 55229 55231 55235 55239 55243 55245 55261 55265 55273 55277 55281 55285 55289 55293 55301 55305 55317 55321 55327 55331 55333 55335 55367 55371 55375 55383 55387 55391 55399 55401 55409 55413 55425 55437 55445 55453 55457 55459 55463 55467 55473 55485 55505 ...

result:

ok correct

Test #4:

score: 0
Accepted
time: 61ms
memory: 32424kb

input:

100000 3000

output:

83 85 89 91 95 99 105 113 115 119 123 127 129 133 137 139 141 145 149 151 153 159 163 165 173 175 181 183 187 191 193 195 203 207 213 217 221 225 234 246 254 258 266 274 278 282 290 298 302 306 318 326 330 346 350 362 366 374 382 386 390 406 414 426 434 442 450 468 486 498 506 514 518 526 530 538 54...

result:

ok correct

Test #5:

score: 0
Accepted
time: 26ms
memory: 7212kb

input:

100 1

output:

0

result:

ok correct

Test #6:

score: 0
Accepted
time: 25ms
memory: 7360kb

input:

1 1

output:

0

result:

ok correct

Test #7:

score: 0
Accepted
time: 54ms
memory: 32224kb

input:

100000 100000

output:

-1

result:

ok correct

Test #8:

score: 0
Accepted
time: 26ms
memory: 7260kb

input:

100 10

output:

1 2 4 7 9 12 18 24 32 38

result:

ok correct

Test #9:

score: 0
Accepted
time: 64ms
memory: 32428kb

input:

100000 6000

output:

83 85 89 91 95 99 105 113 115 119 123 127 129 133 137 139 141 145 149 151 153 159 163 165 173 175 181 183 187 191 193 195 203 207 213 217 221 225 234 246 254 258 266 274 278 282 290 298 302 306 318 326 330 346 350 362 366 374 382 386 390 406 414 426 434 442 450 468 486 498 506 514 518 526 530 538 54...

result:

ok correct

Test #10:

score: 0
Accepted
time: 27ms
memory: 7292kb

input:

101 19

output:

1 2 4 7 9 12 18 24 32 38 42 50 56 64 71 73 75 81 86

result:

ok correct

Test #11:

score: 0
Accepted
time: 31ms
memory: 7416kb

input:

95 19

output:

60 72 84 1 2 4 7 9 12 18 24 32 38 42 50 56 64 71 73

result:

ok correct

Test #12:

score: 0
Accepted
time: 26ms
memory: 7424kb

input:

95 22

output:

11 13 15 19 21 25 28 34 38 42 50 56 64 71 73 75 81 86 90 7 9 12

result:

ok correct

Test #13:

score: 0
Accepted
time: 22ms
memory: 7252kb

input:

92 5

output:

1 2 4 7 9

result:

ok correct

Test #14:

score: 0
Accepted
time: 25ms
memory: 7416kb

input:

92 6

output:

1 2 4 7 9 12

result:

ok correct

Test #15:

score: 0
Accepted
time: 29ms
memory: 7252kb

input:

85 17

output:

40 48 58 62 66 74 78 1 2 4 7 9 12 18 24 32 38

result:

ok correct

Test #16:

score: 0
Accepted
time: 25ms
memory: 7444kb

input:

80 7

output:

1 2 4 7 9 12 18

result:

ok correct

Test #17:

score: 0
Accepted
time: 26ms
memory: 7172kb

input:

8 4

output:

1 2 4 7

result:

ok correct