0_0_32321373_18252.cpp:1:11: error: 'maxn' was not declared in this scope
int dp[1<<maxn][maxn];
^
0_0_32321373_18252.cpp:1:17: error: 'maxn' was not declared in this scope
int dp[1<<maxn][maxn];
^
0_0_32321373_18252.cpp: In function 'void solve()':
0_0_32321373_18252.cpp:4:29: error: 'n' was not declared in this scope
for(int i = 0 ; i < (1<<n) ; i ++) {
^
0_0_32321373_18252.cpp:5:14: error: 'dp' was not declared in this scope
fill(dp[S],dp[S]+n,INF);
^
0_0_32321373_18252.cpp:5:17: error: 'S' was not declared in this scope
fill(dp[S],dp[S]+n,INF);
^
0_0_32321373_18252.cpp:5:28: error: 'INF' was not declared in this scope
fill(dp[S],dp[S]+n,INF);
^
0_0_32321373_18252.cpp:5:31: error: 'fill' was not declared in this scope
fill(dp[S],dp[S]+n,INF);
^
0_0_32321373_18252.cpp:7:5: error: 'dp' was not declared in this scope
dp[(1<<n)-1][0] = 0;
^
0_0_32321373_18252.cpp:7:12: error: 'n' was not declared in this scope
dp[(1<<n)-1][0] = 0;
^
0_0_32321373_18252.cpp:12:59: error: 'd' was not declared in this scope
dp[S][i] = min(dp[S][i],dp[S|1<<j][j]+d[i][j]);
^
0_0_32321373_18252.cpp:12:66: error: 'min' was not declared in this scope
dp[S][i] = min(dp[S][i],dp[S|1<<j][j]+d[i][j]);
^
0_0_32321373_18252.cpp:16:5: error: 'cout' was not declared in this scope
cout << dp[0][0] << endl;
^
0_0_32321373_18252.cpp:16:25: error: 'endl' was not declared in this scope
cout << dp[0][0] << endl;
^
|