解読 (Deciphering)
Unrated
日本語
Language
Contribute a translation- Time limit
- 500 ms
- Memory limit
- 64 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
5 JOIOI 1 I O
Sample output 1
15
Sample input 2
26 ABCDEFGHIJKLMNOPQRSTUVWXYZ 0
Sample output 2
7108863
Notes
JOI 2010/2011 解読 · JCIOI · CC BY-SA 4.0
Tags
No tags yet