QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505521#5946. Up and Downxiaowuc118 ✓50ms3616kbC++171.6kb2024-08-05 05:54:532024-08-05 05:54:55

详细

Subtask #1:

score: 7
Accepted

Test #1:

score: 7
Accepted
time: 1ms
memory: 3616kb

input:

100
8
5442 347 1402 5373 9469 2281 4003 219
9
4957 3355 337 693 1627 1372 2093 4151 9135
7
127 194 735 647 584 399 288
10
531 510 496 247 70 99 398 502 515 549
10
841 629 412 310 83 145 334 611 750 947
10
244 7064 6465 7404 5190 9149 6902 211 1861 7634
10
3341 8102 4954 5745 8455 379 2986 6904 494 8...

output:

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

result:

ok 100 lines

Subtask #2:

score: 11
Accepted

Test #2:

score: 11
Accepted
time: 50ms
memory: 3612kb

input:

100
615
148938 436018 160290 275822 869105 524968 565096 173649 623300 601127 564266 402562 534135 756541 87045 587390 497223 525981 14418 854242 376133 6737 747544 749040 939763 661848 541580 584761 578805 691578 421947 756284 597479 485235 874891 872708 188420 952787 244407 808782 156986 343427 16...

output:

Case #1: 47639
Case #2: 0
Case #3: 0
Case #4: 49936
Case #5: 41538
Case #6: 1024
Case #7: 122641
Case #8: 96003
Case #9: 25614
Case #10: 72121
Case #11: 135655
Case #12: 1657
Case #13: 0
Case #14: 22582
Case #15: 64
Case #16: 240
Case #17: 70559
Case #18: 75514
Case #19: 44058
Case #20: 22558
Case #...

result:

ok 100 lines

Extra Test:

score: 0
Extra Test Passed