Toggle navigation
Contest Tasks
Submissions
Q & A
Dashboard
Sign in
Sign up
1473 . CPC 與 PCP 與水晶簇
Submit out of contest
Status
Discussion / Solution
Ranklist
Back to Problems List
TopCoder
餘切
$\huge\text{owoovo is 8}$
User's AC Ratio
100.0% (
6/6
)
Submission's AC Ratio
77.8% (
7
/
9
)
Tags
Show solution-related tags
ntucpcpc
ntucpcpc-2026
Description
題目 PDF 檔在這裡
Input Format
Output Format
Sample Input 1
copy
3 1 2 3 3 2 1
Sample Output 1
copy
4
Sample Input 2
copy
6 1 1 4 5 1 4 1 9 1 9 8 10
Sample Output 2
copy
45
Hints
Problem Source
Subtasks
No.
Testdata Range
Score
Testdata and Limits
No.
Time Limit (ms)
Memory Limit (VSS, KiB)
Output Limit (KiB)
Subtasks
0
1000
2097152
65536
1
1000
2097152
65536
2
1000
2097152
65536
3
1000
2097152
65536
4
1000
2097152
65536
5
1000
2097152
65536
6
1000
2097152
65536
7
1000
2097152
65536
8
1000
2097152
65536
9
1000
2097152
65536
10
1000
2097152
65536
11
1000
2097152
65536
12
1000
2097152
65536
13
1000
2097152
65536
14
1000
2097152
65536
15
1000
2097152
65536
16
1000
2097152
65536
17
1000
2097152
65536
18
1000
2097152
65536
19
1000
2097152
65536
Submit out of contest
Back to Top