0_0_19231044_8965.cpp:18:1: error: stray '\' in program
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:20:1: error: stray '\' in program
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:20:1: error: stray '\' in program
0_0_19231044_8965.cpp:61:25: error: stray '#' in program
int m = dist[r]; #ifdef Debug for (
^
0_0_19231044_8965.cpp:62:108: error: stray '#' in program
int i=0; i<4; i++) printf("%d ", dist[i]); puts(""); printf("%d %d %d\n", m, r, hcp); #endif
^
0_0_19231044_8965.cpp:18:8: error: 'U' was not declared in this scope
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:18:11: error: 'cond' does not name a type
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:18:16: error: 'u' does not name a type
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:18:40: error: 'v' does not name a type
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:15:77: note: in definition of macro '$FOREACH'
#define $FOREACH(a, b) for(__typeof(b.begin())a=b.begin(), a##ed__=b.end(); a!=a##ed__; a++)
^
0_0_19231044_8965.cpp:18:40: error: 'v' does not name a type
int u=(U);cond;u=(U))\ $FOREACH(v, V)
^
0_0_19231044_8965.cpp:15:89: note: in definition of macro '$FOREACH'
#define $FOREACH(a, b) for(__typeof(b.begin())a=b.begin(), a##ed__=b.end(); a!=a##ed__; a++)
^
0_0_19231044_8965.cpp:20:12: error: 'cond' does not name a type
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:20:18: error: 'u' does not name a type
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:20:56: error: expected unqualified-id before '!' token
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:20:64: error: 'child' does not name a type
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:20:106: error: expected unqualified-id before '!' token
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:16:55: note: in definition of macro '$FOREACHC'
#define $FOREACHC(a, b, cond) for (__typeof(b) a=b;(cond); b++, a=b)
^
0_0_19231044_8965.cpp:20:106: error: expected ')' before '!' token
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp:16:55: note: in definition of macro '$FOREACHC'
#define $FOREACHC(a, b, cond) for (__typeof(b) a=b;(cond); b++, a=b)
^
0_0_19231044_8965.cpp:16:63: error: expected constructor, destructor, or type conversion before '++' token
#define $FOREACHC(a, b, cond) for (__typeof(b) a=b;(cond); b++, a=b)
^
0_0_19231044_8965.cpp:20:88: note: in expansion of macro '$FOREACHC'
int u=(U); cond; u=(U))\ for (bool child=false; !child; child=true)\ $FOREACHC(v, (V), !child)
^
0_0_19231044_8965.cpp: In function 'void pre()':
0_0_19231044_8965.cpp:31:21: error: 'revers' was not declared in this scope
int i=0; i<15; i++) revers[(int)ran[i]]=i, ihcp[i] = (i>10?i-10:0); for (
^
0_0_19231044_8965.cpp:31:33: error: 'ran' was not declared in this scope
int i=0; i<15; i++) revers[(int)ran[i]]=i, ihcp[i] = (i>10?i-10:0); for (
^
0_0_19231044_8965.cpp:32:30: error: 'suit' was not declared in this scope
int i=0; i<4; i++) rev[(int)suit[i]]=i;}
^
0_0_19231044_8965.cpp: In function 'bool read()':
0_0_19231044_8965.cpp:35:77: error: 'revers' was not declared in this scope
int i=0, j=0; j<13; i+=3, j++) { card[j] = rev[(int)s[i]] * 20 + revers[(int)s[i+1]], dist[rev[(int)s[i]]]++, hcp+=ihcp[revers[(int)s[i+1]]]; } return true;}
^
0_0_19231044_8965.cpp: In function 'int main()':
0_0_19231044_8965.cpp:61:26: error: 'ifdef' was not declared in this scope
int m = dist[r]; #ifdef Debug for (
^
0_0_19231044_8965.cpp:62:10: error: 'i' was not declared in this scope
int i=0; i<4; i++) printf("%d ", dist[i]); puts(""); printf("%d %d %d\n", m, r, hcp); #endif
^
0_0_19231044_8965.cpp:62:109: error: 'endif' was not declared in this scope
int i=0; i<4; i++) printf("%d ", dist[i]); puts(""); printf("%d %d %d\n", m, r, hcp); #endif
^
0_0_19231044_8965.cpp:64:37: error: 'z' was not declared in this scope
int z[4]; copy(dist, dist+4, z); sort(z, z+4, greater<int>()); if (hcp >= 10 && m>=8) bid(4, r); else if (hcp >= 10 && hcp <= 13 && m == 7) bid(3, r); else if (hcp >= 8 && hcp <= 9 && (dist[0] >= 7 || dist[1]>=7)) { if (dist[1] < 7 || dist[0] >= dist[1]) bid(2, 0); else bid(2, 1); } else if (hcp >= 8 && hcp <= 11 && (dist[0]>=6 || dist[1]>=6)) { if (dist[1] < 6 || dist[0] >= dist[1]) bid(2, 0); else bid(2, 1); } else if (hcp >= 11 && hcp <= 15 && (check(z,4,4,4,1)||check(z, 5,4,4,0)) && dist[0] >= 4) bid(2, 2); else if (hcp >=15 && hcp <= 17 && (check(z, 4,3,3,3) || check(z, 4,4,3,2) || check(z,5,3,3,2))&& stopped(dist)) bid(1, 4); else if (hcp >= 20 && hcp <= 22 && (check(z, 4,3,3,3) || check(z, 4,4,3,2) || check(z,5,3,3,2))) bid(2, 4); else if (hcp >= 22) bid(2, 3); else if (hcp >= 13 && hcp <= 16 && (dist[0]>=5 || dist[1]>=5)) { if (dist[1] < 5 || dist[0] >= dist[1]) bid(1, 0); else bid(1, 1); } else if (hcp >= 13 && hcp <= 16) if (dist[2] >= dist[3]) bid(1, 2); else bid(1, 3); else if (hcp >= 17) { for (
^
|