Letters and Question Marks
1327G2800· international gm4s1024 MB⌨ stdin/stdout
Examples
Sample 1of 5
Input
4abc -10a 1b 1c 3?b?
Output
5
Sample 2of 5
Input
2a 1a 1?
Output
2
Sample 3of 5
Input
3a 1b 3ab 4ab
Output
8
Sample 4of 5
Input
1a -1?????????????
Output
0
Sample 5of 5
Input
1a -1??????????????
Output
-1
58%
1327G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)