lokahia.cpp: In function 'int FindBase(int)':
lokahia.cpp:19:39: error: reference to 'count' is ambiguous
int rt = CollectRelics(x, y); count++;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
lokahia.cpp:35:34: error: reference to 'count' is ambiguous
int rt = CollectRelics(a,b); count++;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
lokahia.cpp:36:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(rt==-1&&elem[b].size()<Q/4-7) rt=a;
~~~~~~~~~~~~~~^~~~~~
lokahia.cpp:57:51: error: reference to 'count' is ambiguous
if(chka&&CollectRelics(a,i)!=-1) ca++,count++;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
lokahia.cpp:58:15: error: reference to 'count' is ambiguous
if(count==300) break;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
lokahia.cpp:59:51: error: reference to 'count' is ambiguous
if(chkb&&CollectRelics(b,i)!=-1) cb++,count++;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
lokahia.cpp:60:15: error: reference to 'count' is ambiguous
if(count==300) break;
^~~~~
lokahia.cpp:9:20: note: candidates are: int count
int ord[MN], a, b, count;
^~~~~
In file included from /usr/include/c++/7/algorithm:62:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:65,
from lokahia.cpp:2:
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template<class _IIter, class _Tp> typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~