修改注释

This commit is contained in:
p57492168 2022-06-23 14:18:47 +08:00
parent 28395a7985
commit b3d65a8b9f
2 changed files with 1 additions and 2 deletions

View File

@ -160,5 +160,5 @@ if __name__ == '__main__':
if t:
break
print(steps)

View File

@ -17,7 +17,6 @@ def generate_agent_fields(fields, ship_num, splited_areas):
for _ in range(ship_num)], axis=0)
for ship_id in range(1, ship_num+1):
cur_fields = agents_fields[ship_id-1]
# print((splited_areas != ship_id) * (splited_areas != -1))
cur_fields[(splited_areas != ship_id) * (splited_areas != -1)] += 1
return agents_fields