problemscpp
A collection of my answers to algorithm problems in c++.
载入中...
搜索中...
未找到
leetcode::count_of_matches_in_tournament 命名空间参考

LeetCode 1688. 比赛中的配对次数 更多...

class  Solution
 

函数

 TEST (count_of_matches_in_tournament, case1)
 
 TEST (count_of_matches_in_tournament, case2)
 

详细描述

LeetCode 1688. 比赛中的配对次数

函数说明

◆ TEST() [1/2]

leetcode::count_of_matches_in_tournament::TEST ( count_of_matches_in_tournament ,
case1  )

◆ TEST() [2/2]

leetcode::count_of_matches_in_tournament::TEST ( count_of_matches_in_tournament ,
case2  )

在文件 leetcode_test.cpp1052 行定义.

1052 {
1053 ASSERT_EQ(13, Solution::numberOfMatches(14));
1054 }

引用了 leetcode::count_of_matches_in_tournament::Solution::numberOfMatches().