0_0_17475049_15285.cpp: In function 'int main()':
0_0_17475049_15285.cpp:85:33: error: reference to 'next' is ambiguous
next.x=now.x+step[i][0];
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:86:33: error: reference to 'next' is ambiguous
next.y=now.y+step[i][1];
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:36: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:46: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:57: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:67: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:80: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:87:88: error: reference to 'next' is ambiguous
if(next.x<0||next.x>=n||next.y<0||next.y>=m||a[next.x][next.y]!=0)continue;
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:88:58: error: reference to 'next' is ambiguous
if(a[now.x][now.y]==1&&s[next.x][next.y]=='i')
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:88:66: error: reference to 'next' is ambiguous
if(a[now.x][now.y]==1&&s[next.x][next.y]=='i')
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:66:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_17475049_15285.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator_base_funcs.h:184:5: note: template<class _ForwardIterator> _ForwardIterator std::next(_ForwardIterator, typename std::iterator_traits<_Iter>::difference_type)
next(_ForwardIterator __x, typename
^
0_0_17475049_15285.cpp:90:43: error: reference to 'next' is ambiguous
a[next.x][next.y]=2,q.push(next);
^
0_0_17475049_15285.cpp:52:7: note: candidates are: gg next
} now,next;
^
In file included from GCC4.9.2/x86_64
|