0_0_13642857_28666.c: In function 'dp':
0_0_13642857_28666.c:11:42: error: subscripted value is neither array nor pointer nor vector
f[i][j]=(i==n-1)?g[i][j]:max(g[i][j]+dp[i+1][j],g[i][j]+dp[i+1][j+1]);
^
0_0_13642857_28666.c:3:19: note: in definition of macro 'max'
#define max(a,b) (a)>(b)?(a):(b)
^
0_0_13642857_28666.c:11:61: error: subscripted value is neither array nor pointer nor vector
f[i][j]=(i==n-1)?g[i][j]:max(g[i][j]+dp[i+1][j],g[i][j]+dp[i+1][j+1]);
^
0_0_13642857_28666.c:3:23: note: in definition of macro 'max'
#define max(a,b) (a)>(b)?(a):(b)
^
0_0_13642857_28666.c:11:42: error: subscripted value is neither array nor pointer nor vector
f[i][j]=(i==n-1)?g[i][j]:max(g[i][j]+dp[i+1][j],g[i][j]+dp[i+1][j+1]);
^
0_0_13642857_28666.c:3:27: note: in definition of macro 'max'
#define max(a,b) (a)>(b)?(a):(b)
^
0_0_13642857_28666.c:11:61: error: subscripted value is neither array nor pointer nor vector
f[i][j]=(i==n-1)?g[i][j]:max(g[i][j]+dp[i+1][j],g[i][j]+dp[i+1][j+1]);
^
0_0_13642857_28666.c:3:31: note: in definition of macro 'max'
#define max(a,b) (a)>(b)?(a):(b)
^
|