Skip to content

Instantly share code, notes, and snippets.

@AspirantDrago
Created December 10, 2025 15:18
Show Gist options
  • Select an option

  • Save AspirantDrago/5b7c50828d95dfd65e100582048376ef to your computer and use it in GitHub Desktop.

Select an option

Save AspirantDrago/5b7c50828d95dfd65e100582048376ef to your computer and use it in GitHub Desktop.
for _ in range(int(input())):
n = int(input())
print(0, 0, n, flush=True)
while True:
x, y, r = map(int, input().split())
if (x, y, r) == (0, 0, 0):
break
print(-x, -y, r, flush=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment