0_0_26022473_14456.cpp:8:1: error: 'usingnamespace' does not name a type
usingnamespace std;
^
0_0_26022473_14456.cpp:11:9: error: 'longlong' does not name a type
typedef longlong LL;
^
0_0_26022473_14456.cpp:16:1: error: 'vector' does not name a type
vector<vector<int> > G;
^
0_0_26022473_14456.cpp: In function 'void init()':
0_0_26022473_14456.cpp:27:5: error: 'G' was not declared in this scope
G.clear();
^
0_0_26022473_14456.cpp: In function 'void Tarjan(int)':
0_0_26022473_14456.cpp:35:15: error: 'G' was not declared in this scope
int len = G[u].size(), v;
^
0_0_26022473_14456.cpp:39:9: error: 'v' was not declared in this scope
v = G[u][i];
^
0_0_26022473_14456.cpp:44:40: error: 'min' was not declared in this scope
low[u] = min(low[u], low[v]);
^
0_0_26022473_14456.cpp:44:40: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_26022473_14456.cpp:6:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:3444:5: note: 'std::min'
min(initializer_list<_Tp> __l, _Compare __comp)
^
0_0_26022473_14456.cpp:46:28: error: 'elseif' was not declared in this scope
elseif( InStack[v] )
^
0_0_26022473_14456.cpp:54:13: error: 'v' was not declared in this scope
v = Stack[--top];
^
0_0_26022473_14456.cpp:58:21: error: 'v' was not declared in this scope
}while(u != v);
^
0_0_26022473_14456.cpp: In function 'void solve()':
0_0_26022473_14456.cpp:71:19: error: 'G' was not declared in this scope
int len = G[i].size(), v;
^
0_0_26022473_14456.cpp:74:13: error: 'v' was not declared in this scope
v = G[i][j];
^
0_0_26022473_14456.cpp:83:5: error: 'LL' was not declared in this scope
LL x = INF, y;
^
0_0_26022473_14456.cpp:87:13: error: 'x' was not declared in this scope
x = Min(x, sum[i]);
^
0_0_26022473_14456.cpp:89:5: error: 'y' was not declared in this scope
y = n - x;
^
0_0_26022473_14456.cpp:89:13: error: 'x' was not declared in this scope
y = n - x;
^
0_0_26022473_14456.cpp:90:8: error: expected ';' before 'ans'
LL ans = x*(x-1) + y*(y-1) + x*y - m;
^
0_0_26022473_14456.cpp:95:26: error: 'ans' was not declared in this scope
printf("%lld\n", ans);
^
0_0_26022473_14456.cpp: In function 'int main()':
0_0_26022473_14456.cpp:111:13: error: 'G' was not declared in this scope
G[a].push_back(b);
^
0_0_26022473_14456.cpp:116:5: error: 'return0' was not declared in this scope
return0;
^
|