0_0_37771662_24035.cpp: In member function 'void SCC::dfs(int)':
0_0_37771662_24035.cpp:63:12: error: 'top' was not declared in this scope
sta[++top] = 0;
^
0_0_37771662_24035.cpp:64:6: error: 'state' was not declared in this scope
state[top] = 0;
^
0_0_37771662_24035.cpp:71:14: error: 'g' was not declared in this scope
g[2*u%k].pb(u);
^
0_0_37771662_24035.cpp:71:20: error: 'k' was not declared in this scope
g[2*u%k].pb(u);
^
0_0_37771662_24035.cpp:72:14: error: 'ans' was not declared in this scope
ans = 1ll * ans * (g[u%k].size() - (upper_bound(g[u%k].begin(), g[u%k].end(), u/2)-g[u%k].begin()) + 1) % mod;
^
0_0_37771662_24035.cpp:72:120: error: 'mod' was not declared in this scope
ans = 1ll * ans * (g[u%k].size() - (upper_bound(g[u%k].begin(), g[u%k].end(), u/2)-g[u%k].begin()) + 1) % mod;
^
0_0_37771662_24035.cpp:73:28: error: cannot convert 'std::pair<int, int>' to 'int' in initialization
for(int v: e[u]){
^
0_0_37771662_24035.cpp:78:14: error: 'g' was not declared in this scope
g[2*u%k].pop_back();
^
0_0_37771662_24035.cpp:78:20: error: 'k' was not declared in this scope
g[2*u%k].pop_back();
^
|