0_0_13808103_10205.cpp:22:31: error: stray '#' in program
table[idx] = &memo[tot];
^
0_0_13808103_10205.cpp:28:16: error: stray '#' in program
int tomin(int &a,int b) { if (a>b)a=b; }
^
0_0_13808103_10205.cpp:47:49: error: stray '#' in program
int a = v>>m>>m&3;
^
0_0_13808103_10205.cpp:48:49: error: stray '#' in program
int b = v>>j>>j&3;
^
0_0_13808103_10205.cpp:50:41: error: stray '#' in program
if (!a && !b) {
^
0_0_13808103_10205.cpp:50:46: error: stray '#' in program
if (!a && !b) {
^
0_0_13808103_10205.cpp:53:48: error: stray '#' in program
} else if (!a && b) {
^
0_0_13808103_10205.cpp:53:53: error: stray '#' in program
} else if (!a && b) {
^
0_0_13808103_10205.cpp:57:47: error: stray '#' in program
} else if (a && !b) {
^
0_0_13808103_10205.cpp:57:52: error: stray '#' in program
} else if (a && !b) {
^
0_0_13808103_10205.cpp:61:47: error: stray '#' in program
} else if (a && b) {
^
0_0_13808103_10205.cpp:61:52: error: stray '#' in program
} else if (a && b) {
^
0_0_13808103_10205.cpp:63:51: error: stray '#' in program
if (a==1 && b==1) {
^
0_0_13808103_10205.cpp:63:56: error: stray '#' in program
if (a==1 && b==1) {
^
0_0_13808103_10205.cpp:65:74: error: stray '#' in program
int vp = v>>k>>k&3;
^
0_0_13808103_10205.cpp:71:58: error: stray '#' in program
} else if (a==2 && b==2) {
^
0_0_13808103_10205.cpp:71:63: error: stray '#' in program
} else if (a==2 && b==2) {
^
0_0_13808103_10205.cpp:73:74: error: stray '#' in program
int vp = v>>k>>k&3;
^
0_0_13808103_10205.cpp:79:58: error: stray '#' in program
} else if (a==2 && b==1) {
^
0_0_13808103_10205.cpp:79:63: error: stray '#' in program
} else if (a==2 && b==1) {
^
0_0_13808103_10205.cpp:81:58: error: stray '#' in program
} else if (a==1 && b==2) {
^
0_0_13808103_10205.cpp:81:63: error: stray '#' in program
} else if (a==1 && b==2) {
^
0_0_13808103_10205.cpp:82:61: error: stray '#' in program
if (i==n-1 && j==m-1)
^
0_0_13808103_10205.cpp:82:66: error: stray '#' in program
if (i==n-1 && j==m-1)
^
0_0_13808103_10205.cpp:95:16: error: stray '#' in program
scanf("%d",&cas);
^
0_0_13808103_10205.cpp:95:23: error: stray '#' in program
scanf("%d",&cas);
^
0_0_13808103_10205.cpp:95:29: error: stray '#' in program
scanf("%d",&cas);
^
0_0_13808103_10205.cpp:97:24: error: stray '#' in program
scanf("%d%d\n",&n,&m);
^
0_0_13808103_10205.cpp:97:17: error: stray '\' in program
scanf("%d%d\n",&n,&m);
^
0_0_13808103_10205.cpp:97:35: error: stray '#' in program
scanf("%d%d\n",&n,&m);
^
0_0_13808103_10205.cpp:97:41: error: stray '#' in program
scanf("%d%d\n",&n,&m);
^
0_0_13808103_10205.cpp:97:48: error: stray '#' in program
scanf("%d%d\n",&n,&m);
^
0_0_13808103_10205.cpp:100:25: error: stray '#' in program
printf("%d\n",work());
^
0_0_13808103_10205.cpp:100:17: error: stray '\' in program
printf("%d\n",work());
^
0_0_13808103_10205.cpp:100:34: error: stray '#' in program
printf("%d\n",work());
^
0_0_13808103_10205.cpp: In member function 'int Hash::operator[](int)':
0_0_13808103_10205.cpp:22:32: error: lvalue required as unary '&' operand
table[idx] = &memo[tot];
^
0_0_13808103_10205.cpp: At global scope:
0_0_13808103_10205.cpp:28:17: error: expected ',' or '...' before numeric constant
int tomin(int &a,int b) { if (a>b)a=b; }
^
0_0_13808103_10205.cpp:28:19: error: expected ')' before ';' token
int tomin(int &a,int b) { if (a>b)a=b; }
^
0_0_13808103_10205.cpp:28:20: error: 'a' does not name a type
int tomin(int &a,int b) { if (a>b)a=b; }
^
0_0_13808103_10205.cpp: In function 'int work()':
0_0_13808103_10205.cpp:40:9: error: reference to 'hash' is ambiguous
hash.init();
^
0_0_13808103_10205.cpp:25:2: note: candidates are: Hash hash
}hash;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13808103_10205.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13808103_10205.cpp:41:13: error: reference to 'hash' is ambiguous
cur[hash[0]] = 0;
^
0_0_13808103_10205.cpp:25:2: note: candidates are: Hash hash
}hash;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13808103_10205.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13808103_10205.cpp:46:41: error: reference to 'hash' is ambiguous
int v = hash.memo[st].v;
^
0_0_13808103_10205.cpp:25:2: note: candidates are: Hash hash
}hash;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:3068:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13808103_10205.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/functional_hash.h:58:12: note: template<class _Tp> struct std::hash
struct hash;
^
0_0_13808103_10205.cpp:50:44: error: expected ')' before ';' token
if (!a && !b) {
^
0_0_13808103_10205.cpp:50:47: error: lvalue required as unary '&' operand
if (!a && !b) {
^
0_
|