Login
Sign-Up
Problem
Contest
Category
Submissions
English
Problem
Contest
Category
Submissions
English
#81
Submit Code
Submissions
캐시 메모리 정하기
Time Limit: 2 Sec
Memory Limit: 1024 MiB
한국어
Example Input 1
Copy
5 5 5 1 10 1 2 3 4 5 1 2 2 1 0
Example Output 1
Copy
26
Example Input 2
Copy
3 7 3 2 6 3 1 1 3 2 3 2 2 2 2
Example Output 2
Copy
21
Example Input 3
Copy
3 3 5 1 2 3 3 3 1 1 0
Example Output 3
Copy
4
Category
대회
>
KITPA
>
제 2회 청소년 IT경시대회
>
제 2회 청소년 IT경시대회 고등부
#C
Language-Specific Restrictions