0_0_34603483_458.cpp: In function 'void addEdge(int, int, char*, char*)':
0_0_34603483_458.cpp:23:26: error: 'strcpy' was not declared in this scope
strcpy(edge[c].s1,s1);
^
0_0_34603483_458.cpp: In function 'void dfs(int, int)':
0_0_34603483_458.cpp:44:28: error: reference to 'array' is ambiguous
if(i%2==0) array[p++]=i;
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_34603483_458.cpp:45:22: error: reference to 'array' is ambiguous
else array[p++]=i-1;
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_34603483_458.cpp: In function 'int main(int, char**)':
0_0_34603483_458.cpp:67:36: error: 'memset' was not declared in this scope
memset(head,-1,sizeof(head));
^
0_0_34603483_458.cpp:96:14: error: reference to 'array' is ambiguous
sort(array,array+p);
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_34603483_458.cpp:96:20: error: reference to 'array' is ambiguous
sort(array,array+p);
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_34603483_458.cpp:100:35: error: reference to 'array' is ambiguous
printf("%s %s\n",edge[array[i]].s1,edge[array[i]].s2);
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
0_0_34603483_458.cpp:100:53: error: reference to 'array' is ambiguous
printf("%s %s\n",edge[array[i]].s1,edge[array[i]].s2);
^
0_0_34603483_458.cpp:19:41: note: candidates are: int array [200018]
int head[MAXp],c,dfn[MAXp],low[MAXp],ts,array[MAXe],p;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/tuple:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_map.h:63,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/map:61,
from 0_0_34603483_458.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/array:81:12: note: template<class _Tp, long long unsigned int _Nm> struct std::array
struct array
^
|