cf/mirror

Fibonacci String Subsequences

CF
946F2400· grandmaster3.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
2 4
11
Output
14
Sample 2of 2
Input
10 100
1010101010
Output
553403224
946F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)