0_0_39752895_8333.cpp: In function 'void sethash(state)':
0_0_39752895_8333.cpp:31:5: error: reference to 'hash' is ambiguous
31 | hash[cur.h.x][cur.h.y][cur.box[0].x][cur.box[0].y][cur.box[1].x][cur.box[1].y][cur.box[2].x][cur.box[2].y]=true;
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string_view:42,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/basic_string.h:47,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:54,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39752895_8333.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39752895_8333.cpp:7:6: note: 'bool hash [8][8][8][8][8][8][8][8]'
7 | bool hash[8][8][8][8][8][8][8][8];
| ^~~~
0_0_39752895_8333.cpp: In function 'bool gethash(state)':
0_0_39752895_8333.cpp:36:12: error: reference to 'hash' is ambiguous
36 | return hash[cur.h.x][cur.h.y][cur.box[0].x][cur.box[0].y][cur.box[1].x][cur.box[1].y][cur.box[2].x][cur.box[2].y];
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39752895_8333.cpp:7:6: note: 'bool hash [8][8][8][8][8][8][8][8]'
7 | bool hash[8][8][8][8][8][8][8][8];
| ^~~~
0_0_39752895_8333.cpp: In function 'int main()':
0_0_39752895_8333.cpp:128:16: error: reference to 'hash' is ambiguous
128 | memset(hash,false,sizeof hash);
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39752895_8333.cpp:7:6: note: 'bool hash [8][8][8][8][8][8][8][8]'
7 | bool hash[8][8][8][8][8][8][8][8];
| ^~~~
0_0_39752895_8333.cpp:128:34: error: reference to 'hash' is ambiguous
128 | memset(hash,false,sizeof hash);
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/functional_hash.h:59:12: note: candidates are: 'template<class _Tp> struct std::hash'
59 | struct hash;
| ^~~~
0_0_39752895_8333.cpp:7:6: note: 'bool hash [8][8][8][8][8][8][8][8]'
7 | bool hash[8][8][8][8][8][8][8][8];
| ^~~~
|