mirror of
https://github.com/Hizenberg469/Algorithms-snippets.git
synced 2026-04-19 22:52:23 +03:00
Catalan formula and nCr
This commit is contained in:
@@ -27,6 +27,6 @@ int catalanNumber( int n ){
|
||||
|
||||
int main(int argc, char* argv[] ){
|
||||
|
||||
cout << catalanNumber(3) << '\n';
|
||||
cout << catalanNumber(2) << '\n';
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user