Last active
December 25, 2022 09:47
-
-
Save nuoxoxo/3bdc2e71b006bbcd8aea399c8a48378f to your computer and use it in GitHub Desktop.
Codingame FC 2022 - Boiler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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