cf/mirror

Sereja and Squares

CF
314E2900· international gm4s256 MB⌨ stdin/stdout
#dp

Examples

Sample 1of 3
Input
4
a???
Output
50
Sample 2of 3
Input
4
abc?
Output
0
Sample 3of 3
Input
6
abc???
Output
1
314E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)