Problem pascal
User Hytoh
Submission Time 2023-05-08 17:14:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp:32:1: error: expected ‘}’ before numeric constant
32 | 1, 25, 325, 2600, 14950, 65780, 230230, 657800, 1562275, 3124550, 5311735, 7726160, 9657700, 10400600, 9657700, 7726160, 5311735, 3124550, 1562275, 657800, 230230, 65780, 14950, 2600, 325, 26, 1
| ^
pascal.cpp:4:28: note: to match this ‘{’
4 | int triangle[NUM_VALUES] = {
| ^
pascal.cpp:32:1: error: expected ‘,’ or ‘;’ before numeric constant
32 | 1, 25, 325, 2600, 14950, 65780, 230230, 657800, 1562275, 3124550, 5311735, 7726160, 9657700, 10400600, 9657700, 7726160, 5311735, 3124550, 1562275, 657800, 230230, 65780, 14950, 2600, 325, 26, 1
| ^
pascal.cpp:35:1: error: expected declaration before ‘}’ token
35 | };
| ^