Perpendicular Segments
2026A900· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
41 1 13 4 14 3 33 4 4
Output
0 0 1 00 0 0 12 4 2 20 1 1 10 0 1 31 2 4 10 1 3 40 3 3 0
58%
2026A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
41 1 13 4 14 3 33 4 4
0 0 1 00 0 0 12 4 2 20 1 1 10 0 1 31 2 4 10 1 3 40 3 3 0