Exolegend Contest

Hello all,

I did not see any thread related to this contest, so created this one.

Also I learned about this contest by email, but can’t see it directly on the site, neither in the event section, or in my last activities. Is there any reason why it seems hidden?
For those who would like to join: Coding Games and Programming Challenges to Code Better

I also wonder whether this competition will score any points in the overall rankings?

Thanks

What’s wrong with my code ?
This give normal imput but the console give me a timeout error message for no reason at all.
import sys
import math
width, height, my_id = [int(i) for i in input().split()]
player_x=0
player_y=0
availables=[]
while True:
action=‘MOVE’
def next_to_player(height,width):
if (player_x==width and (player_y==height-1 or player_y==height+1)) or (player_y==height and (player_x==width-1 or player_x==width+1)):
return True
else:
return False
for i in range(height):
row = input()
count=0
for element in row:
if type(element)==‘int’ and element>=0 and next_to_player(i,count)==True:
action=‘BOMB’
elif element==‘.’ and next_to_player(i,count)==True:
availables.append((i,count))
count+=1
print(availables, file=sys.stderr, flush=True)
entities = int(input())
for i in range(entities):
entity_type, owner, x, y, param_1, param_2 = [int(j) for j in input().split()]
if (y,x) in availables: availables.remove((y,x))
if entity_type==0 and owner==my_id:
player_x=x
player_y=y
elif entity_type==1 and param_1==1:
for i in range(x-param_2,x+param_2+1):
availables.remove((y,i))
for i in range(y-param_2,y+param_2+1):
availables.remove((i,x))
print(availables, file=sys.stderr, flush=True)
if not availables==[]:
X,Y=availables[0]
else:
X,Y=player_x,player_y
print(action, end=’ ‘)
print(X, end=’ ‘)
print(Y,end=’ ')
player_x=X
player_y=Y

How could it be fix ?