QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#122865 | #5911. Manage your Energy | Abrams | 35 ✓ | 2ms | 5612kb | C++17 | 1.0kb | 2023-07-11 13:15:45 | 2023-07-11 13:15:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 12
Accepted
Test #1:
score: 12
Accepted
time: 1ms
memory: 5576kb
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: 2ms
memory: 5612kb
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