MathDB
tuymaada P1 Senior

Source: tuymaada 2022 senior P1

July 3, 2022
graph theory

Problem Statement

Some of 100100 towns of a kingdom are connected by roads.It is known that for each two towns AA and BB connected by a road there is a town CC which is not connected by a road with at least one of the towns AA and BB. Determine the maximum possible number of roads in the kingdom.