ランプ (Lamps)
Unrated
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
8 11011100 01101001
Sample output 1
4
Sample input 2
13 1010010010100 0000111001011
Sample output 2
3
Sample input 3
18 001100010010000110 110110001000100101
Sample output 3
5
Notes
原典:JOI 2018/2019 春季トレーニング合宿 ランプ (Lamps)、情報オリンピック日本委員会。CC BY-SA 4.0。
Tags
No tags yet