Problem pascal
User mingging1748
Submission Time 2024-10-21 18:56:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘long long int choose(int, int)’:
pascal.cpp:9:12: error: a function-definition is not allowed here before ‘{’ token
9 | int main() {
| ^
pascal.cpp:16:1: error: expected ‘}’ at end of input
16 | }
| ^
pascal.cpp:4:32: note: to match this ‘{’
4 | long long choose(int n, int k) {
| ^