File upload
🎨
AI Resource Generation
No prompt
Sign in
비밀 코드
Show topics
문자열 처리
동적 프로그래밍
그래프
트라이
Korean
Korean
English
Likes 0
Q&A 0
Time limit
Memory limit
1 sec
128 MB
📃 Problem
💻 Input
🖨️ Output
💻 Sample Input 1
ABABA
🖨️ Sample Output 1
6
Source:
USACO 2014 February Contest, Bronze Problem 3. Secret Code
Write code
▶️