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

Compile Error

pascal.cpp:3:28: error: expected primary-expression before ‘;’ token
3 | const int NUM_VALUES = 325-;
| ^
pascal.cpp:4:14: error: size of array ‘triangle’ is not an integral constant-expression
4 | int triangle[NUM_VALUES] = {
| ^~~~~~~~~~
pascal.cpp:6:1: error: expected ‘}’ before numeric constant
6 | 1, 1
| ^
pascal.cpp:4:28: note: to match this ‘{’
4 | int triangle[NUM_VALUES] = {
| ^
pascal.cpp:6:1: error: expected ‘,’ or ‘;’ before numeric constant
6 | 1, 1
| ^
pascal.cpp:29:1: error: expected declaration before ‘}’ token
29 | };
| ^