Fibonacci String Subsequences
946F2400· grandmaster3.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 411
Output
14
Sample 2of 2
Input
10 1001010101010
Output
553403224
58%
946F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
2 411
14
10 1001010101010
553403224