Home > Back-end > Rookie help don't know where is this wrong
Rookie help don't know where is this wrong
Time:01-30
General idea is to BFS over the fire, save time of arrival in each position of fire; Then BFS side, as long as time of arrival in one location is less than the time of arrival of the fire is the team The code below https://pastebin.com/SRmW8YUn