## `π¬Β λ¬Έμ ` [https://app.codility.com/programmers/trainings/3/tennis_tournament/](https://app.codility.com/programmers/trainings/3/tennis_tournament/) <br> ## `π¬Β νμ΄` ```swift public func solution(_ P : Int, _ C : Int) -> Int { if P / 2 >= C { return C } else { return P / 2 } } ``` `νκ°ν` : [https://app.codility.com/demo/results/training9KQ9FY-ACV/](https://app.codility.com/demo/results/training9KQ9FY-ACV/)