0_0_20658913_21561.cpp: In function 'status dfs(int)':
0_0_20658913_21561.cpp:45:15: error: expected primary-expression before '=' token
if(dp[u].win (= -1)
^
0_0_20658913_21561.cpp:45:19: error: expression cannot be used as a function
if(dp[u].win (= -1)
^
0_0_20658913_21561.cpp:46:5: error: expected ')' before 'return'
return dp[u];
^
0_0_20658913_21561.cpp: In function 'void BuildGraph()':
0_0_20658913_21561.cpp:87:20: error: request for member 'push_back' in 'GetID.std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[]<std::basic_string<char>, int, std::hash<std::basic_string<char> >, std::equal_to<std::basic_string<char> >, std::allocator<std::pair<const std::basic_string<char>, int> > >((*(const key_type*)(& st)))', which is of non-class type 'std::unordered_map<std::basic_string<char>, int>::mapped_type {aka int}'
vec[GetID[st].push_back(i.second);
^
0_0_20658913_21561.cpp:87:39: error: expected ']' before ';' token
vec[GetID[st].push_back(i.second);
^
|