cf/mirror

Secret Letters

CF
1120F3100· legendary gm2s512 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
5 1 4
0 P
1 W
3 P
5 P
8 P
10
Output
16
Sample 2of 2
Input
10 10 94
17 W
20 W
28 W
48 W
51 P
52 W
56 W
62 P
75 P
78 P
87
Output
916
1120F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)