0_0_21005698_17494.cpp:27:19: error: '#' is not followed by a macro parameter
#define forb(i,a,b) for(int i=a;i<b;i++)
^
0_0_21005698_17494.cpp:28:19: error: '#' is not followed by a macro parameter
#define ford(i,a,b) for(int i=a;i<=b;i++)
^
0_0_21005698_17494.cpp:86:26: error: stray '#' in program
sort(house,house+n,cmp);
^
0_0_21005698_17494.cpp:90:22: error: stray '#' in program
forb(j,i+1,n)
^
0_0_21005698_17494.cpp:93:34: error: stray '#' in program
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:39: error: stray '#' in program
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:53: error: stray '#' in program
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:58: error: stray '#' in program
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:96:22: error: stray '#' in program
forb(j,i+1,n)
^
0_0_21005698_17494.cpp:97:26: error: stray '#' in program
forb(k,j+1,n)
^
0_0_21005698_17494.cpp:99:29: error: stray '#' in program
num++;
^
0_0_21005698_17494.cpp:99:34: error: stray '#' in program
num++;
^
0_0_21005698_17494.cpp:100:33: error: stray '#' in program
printf("Case %d: %d\n",++ca,num);
^
0_0_21005698_17494.cpp:100:38: error: stray '#' in program
printf("Case %d: %d\n",++ca,num);
^
0_0_21005698_17494.cpp: In function 'int main()':
0_0_21005698_17494.cpp:81:14: error: 'i' was not declared in this scope
forb(i,0,n)
^
0_0_21005698_17494.cpp:81:19: error: 'forb' was not declared in this scope
forb(i,0,n)
^
0_0_21005698_17494.cpp:86:27: error: invalid operands of types 'point [110]' and 'int' to binary 'operator&'
sort(house,house+n,cmp);
^
0_0_21005698_17494.cpp:86:35: error: expected ';' before ')' token
sort(house,house+n,cmp);
^
0_0_21005698_17494.cpp:90:29: error: expected ';' before ')' token
forb(j,i+1,n)
^
0_0_21005698_17494.cpp:93:40: error: lvalue required as unary '&' operand
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:43: error: expected primary-expression before ',' token
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:47: error: 'j' was not declared in this scope
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:93:59: error: lvalue required as unary '&' operand
xh[i][j]++,xh[j][i]++;
^
0_0_21005698_17494.cpp:96:29: error: expected ';' before ')' token
forb(j,i+1,n)
^
0_0_21005698_17494.cpp:97:33: error: expected ';' before ')' token
forb(k,j+1,n)
^
0_0_21005698_17494.cpp:99:35: error: lvalue required as unary '&' operand
num++;
^
0_0_21005698_17494.cpp:100:34: error: lvalue required as unary '&' operand
printf("Case %d: %d\n",++ca,num);
^
0_0_21005698_17494.cpp:100:39: error: lvalue required as unary '&' operand
printf("Case %d: %d\n",++ca,num);
^
0_0_21005698_17494.cpp:100:48: error: expected ';' before ')' token
printf("Case %d: %d\n",++ca,num);
^
|