0_0_30291863_16313.cpp:31:2: error: missing terminating " character
scanf("%d%d%d,&a,&b,&c);
^
0_0_30291863_16313.cpp: In function 'int calc()':
0_0_30291863_16313.cpp:8:35: error: invalid operands of types 'int [65]' and 'int' to binary 'operator*'
memset(dp,-1,sizeof(dp[0]*(n+1));
^
0_0_30291863_16313.cpp: In function 'int main()':
0_0_30291863_16313.cpp:32:34: error: expected ')' before ';' token
vec[a].push_back(make_pair(b,c));
^
|