cf/mirror

Non-Secret Cypher

CF
190D1900· candidate master3s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
4 2
1 2 1 2
Output
3
Sample 2of 3
Input
5 3
1 2 1 1 3
Output
2
Sample 3of 3
Input
3 1
1 1 1
Output
6
190D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)