Skip to content

Instantly share code, notes, and snippets.

@nuoxoxo
Last active December 25, 2022 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nuoxoxo/3bdc2e71b006bbcd8aea399c8a48378f to your computer and use it in GitHub Desktop.
Save nuoxoxo/3bdc2e71b006bbcd8aea399c8a48378f to your computer and use it in GitHub Desktop.
Codingame FC 2022 - Boiler
import sys, math
C, R = [int(i) for i in input().split()] # boiler
# game loop
while True:
### boiler begins
my_matter, opp_matter = [int(i) for i in input().split()]
for i in range(height):
for j in range(width):
# owner: 1 = me, 0 = foe, -1 = neutral
scrap_amount, owner, units, recycler, \
can_build, can_spawn, in_range_of_recycler \
= [int(k) for k in input().split()]
### boiler ends
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment