0_0_21569488_28552.cpp: In function 'int main()':
0_0_21569488_28552.cpp:45:14: error: 'dp' was not declared in this scope
mems(dp, INF);
^
0_0_21569488_28552.cpp:19:27: note: in definition of macro 'mems'
#define mems(a, b) memset(a, b, sizeof a)
^
0_0_21569488_28552.cpp:51:91: error: 'dis' was not declared in this scope
dp[i | (1 << k)][k] = min(dp[i | (1 << k)][k], dp[i][j] + dis(j, k));
^
0_0_21569488_28552.cpp:58:51: error: 'dis' was not declared in this scope
ans = min(ans, dp[m - 1][i] + dis(0, i));
^
|