QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#340910 | #3178. Shattered Cake | lmq26052003 | AC ✓ | 291ms | 3912kb | C++20 | 614b | 2024-02-29 14:03:50 | 2024-02-29 14:03:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3800kb
input:
4 7 2 3 1 4 1 2 1 2 2 2 2 2 2 1
output:
6
result:
ok single line: '6'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
5 35 2 1 2 5 1 1 1 3 2 5 1 3 2 3 1 2 1 1 2 1 1 3 1 1 1 2 1 1 2 1 2 3 1 1 1 2 2 3 1 1 2 5 2 1 1 1 1 1 2 5 2 3 2 1 1 2 1 1 1 3 1 2 1 3 2 5 1 1 2 3
output:
25
result:
ok single line: '25'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
3 18 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:
6
result:
ok single line: '6'
Test #4:
score: 0
Accepted
time: 90ms
memory: 3880kb
input:
500 1292900 1 3 2 5 2 1 1 3 2 3 1 1 2 3 2 5 1 1 1 3 1 2 2 3 1 1 2 1 2 3 2 3 1 2 1 1 1 1 2 5 1 1 2 5 1 2 2 3 2 3 1 1 1 2 1 1 2 1 2 3 2 3 2 1 1 2 1 1 2 3 2 5 2 1 2 5 1 1 1 1 2 1 2 5 1 3 1 2 1 1 1 3 1 1 1 3 1 1 1 2 1 2 1 3 2 3 1 1 2 3 1 3 2 5 2 5 1 2 1 3 2 3 1 1 1 3 1 1 1 1 1 2 1 3 2 5 1 2 2 1 1 1 2 1 ...
output:
9235
result:
ok single line: '9235'
Test #5:
score: 0
Accepted
time: 291ms
memory: 3888kb
input:
7345 4421690 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3 2 3 1 1 1 1 2 1 2 5 1 2 1 3...
output:
2150
result:
ok single line: '2150'