cf/mirror

Perpendicular Segments

CF
2026A900· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
1 1 1
3 4 1
4 3 3
3 4 4
Output
0 0 1 0
0 0 0 1
2 4 2 2
0 1 1 1
0 0 1 3
1 2 4 1
0 1 3 4
0 3 3 0
2026A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)