QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505520#5945. Data Packingxiaowuc113 ✓28ms4060kbC++171.6kb2024-08-05 05:54:442024-08-05 05:54:45

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

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

input:

100
9 586
564 455 494 3 564 3 102 102 564
10 456
237 22 381 388 76 137 224 162 151 420
7 572
403 263 346 389 384 454 523
10 374
219 339 275 239 272 193 362 46 324 276
10 597
44 569 144 314 288 535 288 491 256 104
6 541
255 219 286 322 132 409
5 13
5 5 1 7 3
10 561
480 391 286 55 15 301 12 307 305 26...

output:

Case #1: 6
Case #2: 6
Case #3: 7
Case #4: 9
Case #5: 6
Case #6: 3
Case #7: 3
Case #8: 6
Case #9: 3
Case #10: 2
Case #11: 1
Case #12: 8
Case #13: 5
Case #14: 4
Case #15: 5
Case #16: 4
Case #17: 5
Case #18: 6
Case #19: 9
Case #20: 5
Case #21: 3
Case #22: 7
Case #23: 6
Case #24: 5
Case #25: 7
Case #26:...

result:

ok 100 lines

Subtask #2:

score: 8
Accepted

Test #2:

score: 8
Accepted
time: 28ms
memory: 4060kb

input:

100
1511 538
337 193 456 332 496 439 153 537 91 58 395 348 482 345 84 261 20 257 372 437 149 126 176 313 348 223 145 460 325 120 280 341 275 494 249 372 220 438 492 499 114 199 476 430 534 532 106 148 180 446 10 217 128 296 127 519 519 189 161 106 492 266 130 332 121 535 104 187 136 82 535 217 179 1...

output:

Case #1: 789
Case #2: 5000
Case #3: 97
Case #4: 629
Case #5: 966
Case #6: 5032
Case #7: 158
Case #8: 177
Case #9: 234
Case #10: 65
Case #11: 1
Case #12: 449
Case #13: 304
Case #14: 127
Case #15: 461
Case #16: 811
Case #17: 27
Case #18: 13
Case #19: 25
Case #20: 20
Case #21: 269
Case #22: 42
Case #23...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed