惑星探査
UnratedLanguage limit
日本語
Language
Contribute a translation- Time limit
- 500 ms
- Memory limit
- 64 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 7 4 JIOJOIJ IOJOIJO JOIJOOI OOJJIJO 3 5 4 7 2 2 3 6 2 2 2 2 1 1 4 7
Sample output 1
1 3 2 3 5 2 0 1 0 10 11 7
Notes
原典:JOI 2010/2011 本選、情報オリンピック日本委員会。CC BY-SA 4.0。
Tags
No tags yet
Source
This problem accepts only these languages.
C++20