0_0_13969740_24621.cpp:20:1: error: 'LL' does not name a type
LL mx,mmax[MAXN],dp[MAXN],a[MAXN];
^
0_0_13969740_24621.cpp: In function 'int main()':
0_0_13969740_24621.cpp:23:22: error: 'a' was not declared in this scope
g(i,1,n)scanf("%d",a + i);
^
0_0_13969740_24621.cpp:24:10: error: 'dp' was not declared in this scope
memset(dp,0,sizeof dp);
^
0_0_13969740_24621.cpp:25:10: error: 'mmax' was not declared in this scope
memset(mmax,0,sizeof mmax);
^
0_0_13969740_24621.cpp:27:4: error: 'mx' was not declared in this scope
mx = -MAXN;
^
0_0_13969740_24621.cpp:31:47: error: 'a' was not declared in this scope
dp[j] = std::max(dp[j - 1],mmax[j - 1]) + a[j];
^
0_0_13969740_24621.cpp:36:20: error: 'mx' was not declared in this scope
printf("%I64d\n",mx);
^
|