0_0_35768614_11682.cpp: In function 'int dfs(int)':
0_0_35768614_11682.cpp:18:2: error: reference to 'list' is ambiguous
list[now]=sorted[now]=arr[now];
^
0_0_35768614_11682.cpp:14:17: note: candidates are: staff list [50010]
staff arr[maxn],list[maxn],sorted[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_35768614_11682.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_35768614_11682.cpp:24:22: error: 'size' cannot be used as a function
return size(pos[now])=ans;
^
0_0_35768614_11682.cpp: In function 'int main()':
0_0_35768614_11682.cpp:51:14: error: reference to 'list' is ambiguous
sorted[i]=list[i]=arr[i];
^
0_0_35768614_11682.cpp:14:17: note: candidates are: staff list [50010]
staff arr[maxn],list[maxn],sorted[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_35768614_11682.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_35768614_11682.cpp:98:9: error: reference to 'list' is ambiguous
if(list[i].abi>val&&list[i].loy>ans){
^
0_0_35768614_11682.cpp:14:17: note: candidates are: staff list [50010]
staff arr[maxn],list[maxn],sorted[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_35768614_11682.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_35768614_11682.cpp:98:26: error: reference to 'list' is ambiguous
if(list[i].abi>val&&list[i].loy>ans){
^
0_0_35768614_11682.cpp:14:17: note: candidates are: staff list [50010]
staff arr[maxn],list[maxn],sorted[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_35768614_11682.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
0_0_35768614_11682.cpp:99:11: error: reference to 'list' is ambiguous
ans=list[i].loy;
^
0_0_35768614_11682.cpp:14:17: note: candidates are: staff list [50010]
staff arr[maxn],list[maxn],sorted[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/list:63:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:78,
from 0_0_35768614_11682.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_list.h:447:11: note: template<class _Tp, class _Alloc> class std::list
class list : protected _List_base<_Tp, _Alloc>
^
|