Arpa’s abnormal DNA and Mehrdad’s deep interest
741E3400· legendary gm2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
abc d 40 3 2 0 00 3 1 0 01 2 1 0 00 1 3 2 2
Output
2 3 2 -1
Sample 2of 2
Input
abbbbbbaaa baababaaab 101 2 1 0 02 7 8 4 72 3 9 2 83 4 6 1 10 8 5 2 42 8 10 4 77 10 1 0 01 4 6 0 20 9 8 0 64 8 5 0 1
Output
1 4 2 -1 2 4 10 1 1 5
58%
741E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)