0_0_29423919_5913.cpp:11:1: error: 'node' does not name a type
node en;
^
0_0_29423919_5913.cpp:12:5: error: 'node' was not declared in this scope
map<node, int>dp;
^
0_0_29423919_5913.cpp:12:14: error: template argument 1 is invalid
map<node, int>dp;
^
0_0_29423919_5913.cpp:12:14: error: template argument 3 is invalid
0_0_29423919_5913.cpp:12:14: error: template argument 4 is invalid
0_0_29423919_5913.cpp:12:17: error: invalid type in declaration before ';' token
map<node, int>dp;
^
0_0_29423919_5913.cpp: In function 'int dfs(node)':
0_0_29423919_5913.cpp:45:12: error: 'en' was not declared in this scope
if (!(now<en)&&!(en<now))return 0;
^
0_0_29423919_5913.cpp:46:15: error: no match for 'operator[]' (operand types are 'int' and 'node')
int &ret = dp[now];
^
0_0_29423919_5913.cpp: In function 'int main()':
0_0_29423919_5913.cpp:73:6: error: request for member 'clear' in 'dp', which is of non-class type 'int'
dp.clear();
^
0_0_29423919_5913.cpp:121:3: error: 'en' was not declared in this scope
en = node();
^
|