QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#410146#1985. DecorationDiaosiAC ✓60ms89152kbC++172.0kb2024-05-13 16:20:132024-05-13 16:20:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 44ms
memory: 87804kb

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: 59ms
memory: 86716kb

input:

99999 10

output:

1 2 4 7 9 12 18 24 32 38 

result:

ok correct

Test #3:

score: 0
Accepted
time: 60ms
memory: 89152kb

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: 59ms
memory: 88888kb

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: 10ms
memory: 52204kb

input:

100 1

output:

0

result:

ok correct

Test #6:

score: 0
Accepted
time: 5ms
memory: 51984kb

input:

1 1

output:

0

result:

ok correct

Test #7:

score: 0
Accepted
time: 46ms
memory: 89036kb

input:

100000 100000

output:

-1

result:

ok correct

Test #8:

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

input:

100 10

output:

1 2 4 7 9 12 18 24 32 38 

result:

ok correct

Test #9:

score: 0
Accepted
time: 51ms
memory: 86488kb

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: 26ms
memory: 65340kb

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: 28ms
memory: 65632kb

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: 32ms
memory: 65080kb

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: 28ms
memory: 67024kb

input:

92 5

output:

1 2 4 7 9 

result:

ok correct

Test #14:

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

input:

92 6

output:

1 2 4 7 9 12 

result:

ok correct

Test #15:

score: 0
Accepted
time: 24ms
memory: 66600kb

input:

85 17

output:

54 62 66 74 78 1 2 4 7 9 12 18 24 32 38 42 50 

result:

ok correct

Test #16:

score: 0
Accepted
time: 23ms
memory: 65476kb

input:

80 7

output:

1 2 4 7 9 12 18 

result:

ok correct

Test #17:

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

input:

8 4

output:

7 1 2 4 

result:

ok correct