Guest User

Untitled

a guest
May 31st, 2020
42
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import sys
  2. import math
  3. import array
  4. import random
  5. checkpoints = int(input())
  6. checkpointX = array.array('i',[checkpoints])
  7. checkpointY = array.array('i',[checkpoints])
  8. for m in range(checkpoints):
  9.     checkpointX, checkpointY = [int(j) for j in input().split()]
  10. # game loop
  11. while True:
  12.     checkpoint_index, x, y, vx, vy, angle = [int(i) for i in input().split()]
  13.     thrust=100+random.randint(0,100)
  14.     print(checkpointX[checkpoint_index],checkpointY[checkpoint_index],thrust)
RAW Paste Data