(
inti = 1; i <= r; i++) {
55assert(((
void)
"10 is the answer but function says otherwise.\n", t == 10));
56std::cout <<
"First test passes."<< std::endl;
60((
void)
"10 is the answer but the function says otherwise.\n", t == 10));
61std::cout <<
"Second test passes."<< std::endl;
65((
void)
"3 is the answer but the function says otherwise.\n", t == 3));
66std::cout <<
"Third test passes."<< std::endl;
69assert(((
void)
"210 is the answer but the function says otherwise.\n",
71std::cout <<
"Fourth test passes."<< std::endl;
static void test()
Test implementations.
int main()
Main function.
T n_choose_r(T n, T r)
This is the function implementation of .
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4