mirror of
https://github.com/Xevion/contest.git
synced 2025-12-09 12:06:47 -06:00
finish icpc 2018 problem A
This commit is contained in:
@@ -21,7 +21,8 @@ def main():
|
||||
listeners.append(parse(dataset))
|
||||
spy = listeners.pop(0)
|
||||
|
||||
distances = sorted()
|
||||
distances = sorted(list(map(lambda x : dist(spy, x), listeners)))
|
||||
print(int(distances[:2][-1]))
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user