cf/mirror

Mysterious Code

CF
1163D2100· master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 4
Input
*****
katie
shiro
Output
1
Sample 2of 4
Input
caat
caat
a
Output
-1
Sample 3of 4
Input
*a*
bba
b
Output
0
Sample 4of 4
Input
***
cc
z
Output
2
1163D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)