QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#83105 | #3186. Cent Savings | xiaowuc1 | AC ✓ | 471ms | 38564kb | Java11 | 2.5kb | 2023-03-01 05:53:01 | 2023-03-01 05:53:07 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 43ms
memory: 35232kb
input:
5 1 13 21 55 60 42
output:
190
result:
ok single line: '190'
Test #2:
score: 0
Accepted
time: 55ms
memory: 35568kb
input:
5 2 1 1 1 1 1
output:
0
result:
ok single line: '0'
Test #3:
score: 0
Accepted
time: 47ms
memory: 35636kb
input:
2 1 8 8
output:
20
result:
ok single line: '20'
Test #4:
score: 0
Accepted
time: 48ms
memory: 35596kb
input:
7 2 5 6 5 5 7 6 1
output:
30
result:
ok single line: '30'
Test #5:
score: 0
Accepted
time: 71ms
memory: 35384kb
input:
50 10 315 7066 3645 9498 1341 7180 5232 3439 1395 3682 597 3540 620 2755 303 609 871 9488 6121 1925 3677 9788 3467 7139 13 689 9777 2500 1175 7955 6817 8947 9192 9487 9747 2860 7389 6659 7062 5213 3870 8791 9436 6035 5180 5235 1203 8839 5271 5624
output:
248620
result:
ok single line: '248620'
Test #6:
score: 0
Accepted
time: 52ms
memory: 35228kb
input:
43 20 1 3 1 1 2 1 2 1 1 1 2 2 2 3 1 4 1 2 1 1 3 2 2 2 2 1 1 2 2 2 3 1 4 4 4 1 2 1 4 3 1 1 3
output:
0
result:
ok single line: '0'
Test #7:
score: 0
Accepted
time: 471ms
memory: 38252kb
input:
2000 20 9820 9702 7536 3536 7446 1612 3742 3409 9499 8258 7797 3589 4545 5120 2944 268 8899 6092 2926 750 1106 7007 4567 8528 7260 7341 1383 6055 5035 679 4000 7953 6570 7120 3890 5382 6484 9578 6822 6510 3417 5257 5981 3500 8012 5573 37 2180 697 9622 3368 4386 4844 4586 5590 6951 5045 7282 85 3811 ...
output:
9970950
result:
ok single line: '9970950'
Test #8:
score: 0
Accepted
time: 169ms
memory: 37748kb
input:
1000 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ...
output:
500430
result:
ok single line: '500430'
Test #9:
score: 0
Accepted
time: 172ms
memory: 37852kb
input:
1000 20 10000 9999 9998 9997 9996 9995 9994 9993 9992 9991 9990 9989 9988 9987 9986 9985 9984 9983 9982 9981 9980 9979 9978 9977 9976 9975 9974 9973 9972 9971 9970 9969 9968 9967 9966 9965 9964 9963 9962 9961 9960 9959 9958 9957 9956 9955 9954 9953 9952 9951 9950 9949 9948 9947 9946 9945 9944 9943 9...
output:
9500430
result:
ok single line: '9500430'
Test #10:
score: 0
Accepted
time: 61ms
memory: 35600kb
input:
44 20 1 3 1 1 2 1 2 1 1 1 2 2 2 3 1 4 1 2 1 1 3 2 2 2 2 1 1 2 2 2 3 1 4 4 4 1 2 1 4 3 1 1 3 1
output:
10
result:
ok single line: '10'
Test #11:
score: 0
Accepted
time: 306ms
memory: 38172kb
input:
2000 20 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 9999 99...
output:
19997920
result:
ok single line: '19997920'
Test #12:
score: 0
Accepted
time: 174ms
memory: 38388kb
input:
826 11 3955 556 3570 6805 8504 9683 7121 4544 7985 9609 7533 4695 2868 9932 2667 4719 8797 2092 4580 5581 2413 972 2364 2934 8612 5840 8808 792 774 1921 4447 3166 6475 9628 4446 616 6329 5717 5350 925 9149 8996 9468 9768 4086 837 1628 8736 8551 9184 2583 4281 6840 8084 2183 6075 5466 8091 5750 8559 ...
output:
4169890
result:
ok single line: '4169890'
Test #13:
score: 0
Accepted
time: 180ms
memory: 37576kb
input:
1000 20 8114 8919 6184 7431 8416 581 4464 7966 4110 6198 5043 7 8422 7159 280 3955 1955 9791 8349 5873 935 2786 2660 1298 4511 9636 365 4013 357 8961 9590 4141 5592 4824 2025 2823 3821 7298 5465 9899 9639 5509 2424 6823 8642 7621 9834 8152 2841 2841 3715 1792 3521 797 8699 1086 7997 161 7374 9212 52...
output:
5018970
result:
ok single line: '5018970'
Test #14:
score: 0
Accepted
time: 94ms
memory: 36336kb
input:
1000 1 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10...
output:
10000
result:
ok single line: '10000'
Test #15:
score: 0
Accepted
time: 177ms
memory: 38564kb
input:
1000 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
output:
980
result:
ok single line: '980'
Test #16:
score: 0
Accepted
time: 63ms
memory: 35100kb
input:
2 1 7 7
output:
10
result:
ok single line: '10'
Test #17:
score: 0
Accepted
time: 48ms
memory: 35628kb
input:
3 20 7 8 9
output:
20
result:
ok single line: '20'
Test #18:
score: 0
Accepted
time: 69ms
memory: 35384kb
input:
2 2 14 22
output:
30
result:
ok single line: '30'
Test #19:
score: 0
Accepted
time: 61ms
memory: 35760kb
input:
3 20 14 22 33
output:
60
result:
ok single line: '60'
Test #20:
score: 0
Accepted
time: 267ms
memory: 37804kb
input:
2000 20 10 10 20 20 30 30 40 40 50 50 60 60 70 70 80 80 90 90 100 100 10 10 20 20 30 30 40 40 50 50 60 60 70 70 80 80 90 90 100 100 10 10 20 20 30 30 40 40 50 50 60 60 70 70 80 80 90 90 100 100 10 10 20 20 30 30 40 40 50 50 60 60 70 70 80 80 90 90 100 100 10 10 20 20 30 30 40 40 50 50 60 60 70 70 80...
output:
110000
result:
ok single line: '110000'