cf/mirror

Far Relative’s Problem

CF
629B1100· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
4
M 151 307
F 343 352
F 117 145
M 24 128
Output
2
Sample 2of 2
Input
6
M 128 130
F 128 131
F 131 140
F 131 141
M 131 200
M 140 200
Output
4
629B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)