Skip to content

Instantly share code, notes, and snippets.

@AspirantDrago
Created December 7, 2025 10:52
Show Gist options
  • Select an option

  • Save AspirantDrago/00d0b034cd11ab6559f748c36ca43cd4 to your computer and use it in GitHub Desktop.

Select an option

Save AspirantDrago/00d0b034cd11ab6559f748c36ca43cd4 to your computer and use it in GitHub Desktop.
n = int(input())
answers: list[tuple[int, int]] = []
for i in range(n + 1):
answers.append((0, i))
print(len(answers))
for x, y in answers:
print(x, y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment