QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#141832 | #6996. Building Factories | sdoi | AC ✓ | 523ms | 111056kb | C++23 | 1.5kb | 2023-08-18 02:44:01 | 2023-08-18 02:44:03 |
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
Test #1:
score: 100
Accepted
time: 1ms
memory: 9784kb
input:
2 4 2 1 2 2 1 3 3 1 4 4 4 3 1 2 2 1 3 3 1 4 4
output:
Case #1: 5 Case #2: 18
result:
ok 6 tokens
Test #2:
score: 0
Accepted
time: 523ms
memory: 111056kb
input:
1000 9 4 7 9 5 5 7 10 4 5 8 6 7 7 2 9 7 1 6 2 3 6 6 8 3 3 10 4 3 2 11 6 3 2 5 3 3 10 2 9 9 5 5 8 9 4 4 2 4 1 3 10 7 5 12 5 2 3 5 4 1 3 10 2 5 13 4 5 11 9 2 3 8 16 9 3 4 2 9 12 6 2 5 5 6 2 4 5 14 7 4 4 1 7 12 10 2 5 6 11 8 5 4 2 8 6 4 6 13 1 8 15 9 5 17 7 4 3 10 2 6 3 2 9 9 2 3 6 15 5 3 12 1 3 4 8 1 ...
output:
Case #1: 151 Case #2: 111 Case #3: 24 Case #4: 69 Case #5: 15 Case #6: 29 Case #7: 17 Case #8: 198 Case #9: 149 Case #10: 101 Case #11: 392 Case #12: 357 Case #13: 61 Case #14: 262 Case #15: 1089 Case #16: 450 Case #17: 56 Case #18: 39 Case #19: 30 Case #20: 47 Case #21: 46 Case #22: 238 Case #23: 9...
result:
ok 3000 tokens