https://leetcode.com/problems/count-of-matches-in-tournament/description/ Easy

Решение

class Solution {
    fun numberOfMatches(n: Int): Int = n - 1
}