QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#61744#1807. Distribute the BarsLiyanxWA 4ms6072kbC++141.1kb2022-11-14 18:36:172022-11-14 18:36:21

詳細信息

Test #1:

score: 100
Accepted
time: 3ms
memory: 6072kb

input:

4

output:

2
2 1 7
2 3 5

result:

ok OK (2 groups)

Test #2:

score: 0
Accepted
time: 3ms
memory: 6036kb

input:

2

output:

-1

result:

ok OK (impossible)

Test #3:

score: 0
Accepted
time: 3ms
memory: 5932kb

input:

3

output:

-1

result:

ok OK (impossible)

Test #4:

score: 0
Accepted
time: 4ms
memory: 5860kb

input:

1659

output:

3
553 1 11 15 19 29 31 41 43 53 55 65 67 77 79 89 91 101 103 113 115 125 127 137 139 149 151 161 163 173 175 185 187 197 199 209 211 221 223 233 235 245 247 257 259 269 271 281 283 293 295 305 307 317 319 329 331 341 343 353 355 365 367 377 379 389 391 401 403 413 415 425 427 437 439 449 451 461 463...

result:

ok OK (3 groups)

Test #5:

score: 0
Accepted
time: 2ms
memory: 6072kb

input:

8941

output:

-1

result:

ok OK (impossible)

Test #6:

score: -100
Wrong Answer
time: 2ms
memory: 6072kb

input:

458

output:

2
230 1 7 9 15 17 23 25 31 33 39 41 47 49 55 57 63 65 71 73 79 81 87 89 95 97 103 105 111 113 119 121 127 129 135 137 143 145 151 153 159 161 167 169 175 177 183 185 191 193 199 201 207 209 215 217 223 225 231 233 239 241 247 249 255 257 263 265 271 273 279 281 287 289 295 297 303 305 311 313 319 32...

result:

wrong answer Integer 919 violates the range [1, 915]