0_0_32321369_17292.cpp:2:7: error: 'maxn' was not declared in this scope
int d[maxn][maxn];
^
0_0_32321369_17292.cpp:2:13: error: 'maxn' was not declared in this scope
int d[maxn][maxn];
^
0_0_32321369_17292.cpp:3:11: error: 'maxn' was not declared in this scope
int dp[1<<maxn][maxn];
^
0_0_32321369_17292.cpp:3:17: error: 'maxn' was not declared in this scope
int dp[1<<maxn][maxn];
^
0_0_32321369_17292.cpp: In function 'int rec(int, int)':
0_0_32321369_17292.cpp:6:8: error: 'dp' was not declared in this scope
if(dp[S][v] >= 0) {
^
0_0_32321369_17292.cpp:9:27: error: 'maxn' was not declared in this scope
if(v == 0 && S == (1<<maxn)-1) return dp[S][v] = 0;
^
0_0_32321369_17292.cpp:9:43: error: 'dp' was not declared in this scope
if(v == 0 && S == (1<<maxn)-1) return dp[S][v] = 0;
^
0_0_32321369_17292.cpp:10:15: error: 'INF' was not declared in this scope
int ans = INF;
^
0_0_32321369_17292.cpp:13:27: error: 'd' was not declared in this scope
ans = min(ans,d[v][i]+rec(S|(1<<i),i));
^
0_0_32321369_17292.cpp:13:50: error: 'min' was not declared in this scope
ans = min(ans,d[v][i]+rec(S|(1<<i),i));
^
0_0_32321369_17292.cpp:16:12: error: 'dp' was not declared in this scope
return dp[S][v] = ans;
^
0_0_32321369_17292.cpp: In function 'void solve()':
0_0_32321369_17292.cpp:20:12: error: 'dp' was not declared in this scope
memset(dp,-1,sizoef(dp));
^
0_0_32321369_17292.cpp:20:27: error: 'sizoef' was not declared in this scope
memset(dp,-1,sizoef(dp));
^
0_0_32321369_17292.cpp:20:28: error: 'memset' was not declared in this scope
memset(dp,-1,sizoef(dp));
^
0_0_32321369_17292.cpp:21:5: error: 'cout' was not declared in this scope
cout << rec(0,0) << endl;
^
0_0_32321369_17292.cpp:21:25: error: 'endl' was not declared in this scope
cout << rec(0,0) << endl;
^
|