Problem

Source: 44th International Tournament of Towns, Junior A-Level P1, Fall 2022

Tags: combinatorics, geometry, Tournament of Towns



One hundred friends, including Alice and Bob, live in several cities. Alice has determined the distance from her city to the city of each of the other 99 friends and totaled these 99 numbers. Alice’s total is 1000 km. Bob similarly totaled his distances to everyone else. What is the largest total that Bob could have obtained? (Consider the cities as points on the plane; if two people live in the same city, the distance between their cities is considered zero).