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