QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#505510 | #5911. Manage your Energy | xiaowuc1 | 35 ✓ | 5ms | 3816kb | C++17 | 2.8kb | 2024-08-05 05:50:34 | 2024-08-05 05:50:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 12
Accepted
Test #1:
score: 12
Accepted
time: 0ms
memory: 3816kb
input:
100 5 1 3 1 2 3 5 1 3 1 3 2 5 1 3 2 1 3 5 1 3 2 3 1 5 1 3 3 1 2 5 1 3 3 2 1 2 1 3 3 1 3 3 1 5 1 2 3 2 1 3 1 5 3 2 1 2 3 5 1 1 2 5 5 10 10 10 10 10 10 10 10 10 10 10 5 1 10 10 1 10 1 10 1 10 1 10 1 5 1 10 1 10 1 10 1 10 1 10 1 10 5 1 10 1 2 3 4 5 6 7 8 9 10 5 1 10 10 9 8 7 6 5 4 3 2 1 5 1 10 1 10 2 9...
output:
Case #1: 18 Case #2: 18 Case #3: 19 Case #4: 18 Case #5: 19 Case #6: 18 Case #7: 12 Case #8: 15 Case #9: 20 Case #10: 10 Case #11: 500 Case #12: 131 Case #13: 131 Case #14: 95 Case #15: 95 Case #16: 111 Case #17: 115 Case #18: 40 Case #19: 15 Case #20: 12 Case #21: 28 Case #22: 15 Case #23: 4 Case #...
result:
ok 100 lines
Subtask #2:
score: 23
Accepted
Test #2:
score: 23
Accepted
time: 5ms
memory: 3704kb
input:
100 5 1 3 1 2 3 5 1 3 1 3 2 5 1 3 2 1 3 5 1 3 2 3 1 5 1 3 3 1 2 5 1 3 3 2 1 2 1 3 3 1 3 3 1 5 1 2 3 2 1 3 1 5 3 2 1 2 3 5 1 1 2 5 5 10 10 10 10 10 10 10 10 10 10 10 5 1 10 10 1 10 1 10 1 10 1 10 1 5 1 10 1 10 1 10 1 10 1 10 1 10 5 1 10 1 2 3 4 5 6 7 8 9 10 5 1 10 10 9 8 7 6 5 4 3 2 1 5 1 10 1 10 2 9...
output:
Case #1: 18 Case #2: 18 Case #3: 19 Case #4: 18 Case #5: 19 Case #6: 18 Case #7: 12 Case #8: 15 Case #9: 20 Case #10: 10 Case #11: 500 Case #12: 131 Case #13: 131 Case #14: 95 Case #15: 95 Case #16: 111 Case #17: 115 Case #18: 7588093446180 Case #19: 19336419062320 Case #20: 82445121328592 Case #21:...
result:
ok 100 lines
Extra Test:
score: 0
Extra Test Passed