Problem 1501 · Hard

Countries You Can Safely Invest In

teaching version: assign residents to a country from the phone prefix, then keep countries whose average call duration beats the overall average. Sample tables are invented.

Open the interactive visualisation