QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#502911 | #8661. Workout for a Dumbbell | xiaowuc1 | AC ✓ | 49ms | 39616kb | Java8 | 2.7kb | 2024-08-03 15:28:00 | 2024-08-03 15:28:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 31ms
memory: 36836kb
input:
5 5 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1 8 3 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0
output:
100
result:
ok single line: '100'
Test #2:
score: 0
Accepted
time: 33ms
memory: 37236kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 2 2 1 3 3 0 4 4 0 5 5 0 6 6 0 7 7 0 8 8 0 9 9 0 10 10 0
output:
111
result:
ok single line: '111'
Test #3:
score: 0
Accepted
time: 34ms
memory: 37128kb
input:
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 0 5 5 1 5 5 2 5 5 3 5 5 4 7 3 0 7 3 1 7 3 2 7 3 3 7 3 4
output:
330
result:
ok single line: '330'
Test #4:
score: 0
Accepted
time: 36ms
memory: 37532kb
input:
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1
output:
144
result:
ok single line: '144'
Test #5:
score: 0
Accepted
time: 39ms
memory: 35624kb
input:
1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4 2 3 -4
output:
144
result:
ok single line: '144'
Test #6:
score: 0
Accepted
time: 33ms
memory: 36992kb
input:
5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 7 3 0 7 3 1 7 3 2 7 3 3 7 3 4 7 3 5 7 3 6 7 3 7 7 3 8 7 3 9
output:
335
result:
ok single line: '335'
Test #7:
score: 0
Accepted
time: 28ms
memory: 39592kb
input:
5 4 5 4 5 4 5 4 5 4 5 4 5 4 5 4 5 4 5 4 7 3 0 7 3 7 7 3 6 7 3 0 7 3 0 7 3 0 7 3 0 7 3 0 7 3 0 7 3 0
output:
306
result:
ok single line: '306'
Test #8:
score: 0
Accepted
time: 42ms
memory: 36940kb
input:
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1000000 1000000 1 1 0 2 2 1 3 3 0 4 4 0 5 5 0 6 6 0 7 7 0 8 8 0 9 9 0 10 10 0
output:
5000079
result:
ok single line: '5000079'
Test #9:
score: 0
Accepted
time: 38ms
memory: 37980kb
input:
1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1 1 0 2 2 1 3 3 0 4 4 0 5 5 0 6 6 0 7 7 0 8 8 0 9 9 0 10 10 0
output:
59000045
result:
ok single line: '59000045'
Test #10:
score: 0
Accepted
time: 41ms
memory: 39616kb
input:
5 5 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 -3 8 3 -11 1 1 -2 1 1 -2 1 1 -2 1 1 -2 1 1 -2 1 1 -2 1 1 -2 1 1 -2
output:
100
result:
ok single line: '100'
Test #11:
score: 0
Accepted
time: 48ms
memory: 37892kb
input:
5 5 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 0 8 3 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0
output:
108
result:
ok single line: '108'
Test #12:
score: 0
Accepted
time: 38ms
memory: 38284kb
input:
424 851 881 994 210 637 425 113 742 904 603 111 263 775 477 641 559 782 240 947 59 497 -102 952 366 573 325 539 -688 821 192 -605 359 348 -524 228 996 -694 26 192 593 655 586 445 258 1 -86 871 35 292
output:
38053
result:
ok single line: '38053'
Test #13:
score: 0
Accepted
time: 49ms
memory: 38388kb
input:
49 676 122 63 889 432 484 943 546 601 685 560 301 884 454 80 467 688 225 195 61 281 908 257 132 681 373 816 -464 366 622 377 234 576 -61 497 210 208 668 716 143 703 583 -434 517 57 722 215 866 372
output:
31080
result:
ok single line: '31080'
Test #14:
score: 0
Accepted
time: 46ms
memory: 38316kb
input:
268 296 160 598 230 696 973 301 195 678 518 192 637 255 965 945 46 408 534 369 384 435 -168 49 356 -245 730 198 -291 24 385 492 761 92 -385 68 257 502 772 609 831 929 51 -676 148 463 293 503 422 -393
output:
31896
result:
ok single line: '31896'
Test #15:
score: 0
Accepted
time: 41ms
memory: 38212kb
input:
124 374 717 401 389 120 707 163 845 969 238 465 817 136 529 95 561 459 646 307 694 870 -559 736 341 147 415 623 -590 688 529 -779 404 395 -91 925 680 -836 428 772 83 741 929 183 68 73 -15 906 257 239
output:
31644
result:
ok single line: '31644'
Test #16:
score: 0
Accepted
time: 41ms
memory: 37088kb
input:
57 184 236 668 559 928 952 666 845 832 830 105 309 997 285 28 850 143 800 718 31 447 126 632 453 -538 93 314 497 341 910 279 167 477 527 211 704 -467 980 42 648 30 339 841 707 628 993 374 535 -365
output:
35231
result:
ok single line: '35231'
Test #17:
score: 0
Accepted
time: 30ms
memory: 38436kb
input:
627 804 626 203 900 544 441 25 847 909 310 737 645 368 444 893 429 863 109 245 3 953 -950 72 325 538 451 48 -888 352 673 394 46 345 -240 782 104 -173 84 935 -665 904 807 599 987 35 121 310 91 871
output:
36213
result:
ok single line: '36213'
Test #18:
score: 0
Accepted
time: 44ms
memory: 37980kb
input:
846 72 664 738 889 808 578 383 496 986 790 370 981 387 956 758 7 231 67 419 326 459 -24 864 550 -388 456 431 -716 11 436 508 925 861 -563 353 151 565 188 827 466 778 275 800 618 441 -751 597 647 107
output:
38296
result:
ok single line: '38296'
Test #19:
score: 0
Accepted
time: 48ms
memory: 37176kb
input:
65 692 702 274 229 424 68 741 145 63 622 650 317 758 116 623 234 598 376 594 649 966 -657 655 774 245 814 165 -100 669 199 180 452 729 672 924 551 859 292 720 -848 4 743 558 898 848 820 533 852 900
output:
30990
result:
ok single line: '30990'
Test #20:
score: 0
Accepted
time: 45ms
memory: 38508kb
input:
635 960 739 809 570 41 557 100 146 141 102 283 653 130 275 840 812 318 685 768 621 472 269 95 646 -681 171 547 72 328 962 295 331 245 348 847 598 -405 396 260 -160 878 210 316 177 606 -52 469 408 135
output:
30375
result:
ok single line: '30375'
Test #21:
score: 0
Accepted
time: 32ms
memory: 37008kb
input:
139 390 296 611 729 113 291 962 796 432 174 555 480 10 191 638 328 370 797 706 282 555 -122 783 983 -289 855 972 -226 992 106 -976 974 196 642 704 21 258 53 423 -465 42 88 732 448 216 84 872 243 767
output:
34764
result:
ok single line: '34764'
Test #22:
score: 0
Accepted
time: 37ms
memory: 37352kb
input:
5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 5000000 0 5000000 5000000 0 5000000 5000000 0 5000000 5000000 0 5000000 5000000 0 5000000 5000000 0 5000000 5000000 0 5000000 500000...
output:
300000000
result:
ok single line: '300000000'
Test #23:
score: 0
Accepted
time: 43ms
memory: 36952kb
input:
1 2 30 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 2 2 1 2 3 0 1 3 1000 1 3 1000 1 3 1000 1 3 1000 1 3 1000 1 3 1000 1 3 1000 1 3 1000
output:
178
result:
ok single line: '178'
Test #24:
score: 0
Accepted
time: 42ms
memory: 38472kb
input:
6 50 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 1000 50 7 0 1 1 1000 1 1 1000 1 1 1000 1 1 1000 1 1 1000 1 1 1000 1 1 1000 1 1 1000
output:
301
result:
ok single line: '301'
Test #25:
score: 0
Accepted
time: 36ms
memory: 36880kb
input:
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 1 3 3 5 3 3 9 3 3 13 3 3 17 3 3 21 3 3 25 3 3 29 3 3 33 3 3 37
output:
121
result:
ok single line: '121'
Test #26:
score: 0
Accepted
time: 31ms
memory: 36676kb
input:
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41 3 3 41
output:
154
result:
ok single line: '154'
Test #27:
score: 0
Accepted
time: 40ms
memory: 38136kb
input:
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410 3 3 410
output:
118
result:
ok single line: '118'