摘要: class Solution { public: int cnt = 0; int numberOfMatches(int n) { // 偶数 / 2 // 奇数 产生 (n - 1) / 2 + 1 个队伍 if (n == 1) return cnt; if (n % 2 == 0) { cn 阅读全文
posted @ 2020-12-13 16:56 DengSchoo 阅读(66) 评论(0) 推荐(0) 编辑