0_0_25843022_13877.cpp: In function 'bool check(int)':
0_0_25843022_13877.cpp:47:11: error: reference to 'lock' is ambiguous
addedge(lock[i]+2*n,lock[i^1]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
0_0_25843022_13877.cpp:47:23: error: reference to 'lock' is ambiguous
addedge(lock[i]+2*n,lock[i^1]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
0_0_25843022_13877.cpp:48:11: error: reference to 'lock' is ambiguous
addedge(lock[i^1]+2*n,lock[i]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
0_0_25843022_13877.cpp:48:25: error: reference to 'lock' is ambiguous
addedge(lock[i^1]+2*n,lock[i]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
0_0_25843022_13877.cpp: In function 'int main()':
0_0_25843022_13877.cpp:58:42: error: reference to 'lock' is ambiguous
for(int i=0;i<2*m;i+=2) scanf("%d %d",&lock[i],&lock[i^1]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
0_0_25843022_13877.cpp:58:51: error: reference to 'lock' is ambiguous
for(int i=0;i<2*m;i+=2) scanf("%d %d",&lock[i],&lock[i^1]);
^
0_0_25843022_13877.cpp:8:45: note: candidates are: int lock [4100]
int dfn[N<<2],low[N<<2],stk[N<<2],vis[N<<2],lock[N<<1],key[N<<1];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/condition_variable:39:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:101,
from 0_0_25843022_13877.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/mutex:668:5: note: template<class _L1, class _L2, class ... _L3> void std::lock(_L1&, _L2&, _L3& ...)
lock(_L1& __l1, _L2& __l2, _L3&... __l3)
^
|