cf/mirror

Mahmoud and Longest Uncommon Subsequence

CF
766A1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
abcd
defgh
Output
5
Sample 2of 2
Input
a
a
Output
-1
766A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)