cf/mirror

Find K Distinct Points with Fixed Center

CF
1998A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
10 10 1
0 0 3
-5 -8 8
4 -5 3
Output
10 10
-1 -1
5 -1
-4 2
-6 -7
-5 -7
-4 -7
-4 -8
-4 -9
-5 -9
-6 -9
-6 -8
1000 -1000
-996 995
8 -10
1998A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)