cf/mirror

Appleman and Complicated Task

CF
461D2800· international gm2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3 2
1 1 x
2 2 o
Output
2
Sample 2of 2
Input
4 3
2 4 x
3 4 x
3 2 x
Output
2
461D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…