← Back to List

23375번: Arm Coordination ↗

Solutions

Python 3
150 B | 150 chars
x, y = map(int, input().split())
r = int(input())
dx = [-1, 1, 1, -1]
dy = [1, 1, -1, -1]

for d in range(4):
    print(x + dx[d] * r, y + dy[d] * r)