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

Compile Error

pascal.cpp:26:1: error: expected ‘}’ before numeric constant
26 | 1, 21, 231, 1540, 7315, 26334, 74613, 170544, 319770, 497420, 646646, 705432, 646646, 497420, 319770, 170544, 74613, 26334, 7315, 1540, 231, 21, 1,
| ^
pascal.cpp:4:38: note: to match this ‘{’
4 | long long int triangle[NUM_VALUES] = {
| ^
pascal.cpp:26:1: error: expected ‘,’ or ‘;’ before numeric constant
26 | 1, 21, 231, 1540, 7315, 26334, 74613, 170544, 319770, 497420, 646646, 705432, 646646, 497420, 319770, 170544, 74613, 26334, 7315, 1540, 231, 21, 1,
| ^
pascal.cpp:31:1: error: expected declaration before ‘}’ token
31 | };
| ^