塗り箸 (Chopsticks)
Unrated
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 64 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
6 JOIIOI
Sample output 1
4
Sample input 2
15 PlovdivBulgaria
Sample output 2
12
Notes
JOI 2008/2009 塗り箸 (Chopsticks) · JCIOI · CC BY-SA 4.0
Tags
No tags yet