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

Compile Error

pascal.cpp:34:99: error: missing terminating ' character
34 | Each line starts with the appropriate number and continues with the corresponding values in Pascal's Triangle, separated by commas.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pascal.cpp:28:1: error: expected ‘}’ before numeric constant
28 | 1, 21, 190, 1140, 4845, 15504, 38760, 77520, 125970, 167960, 184756, 167960, 125970, 77520, 38760, 15504, 4845, 1140, 190, 21, 1,
| ^
pascal.cpp:4:28: note: to match this ‘{’
4 | int triangle[NUM_VALUES] = {
| ^
pascal.cpp:28:1: error: expected ‘,’ or ‘;’ before numeric constant
28 | 1, 21, 190, 1140, 4845, 15504, 38760, 77520, 125970, 167960, 184756, 167960, 125970, 77520, 38760, 15504, 4845, 1140, 190, 21, 1,
| ^
pascal.cpp:36:1: error: expected declaration before ‘}’ token
36 | };
|