0_0_20975893_31436.cpp:16:19: error: '#' is not followed by a macro parameter
#define FF(i, a, b) for(int i=a; i<b; i++)
^
0_0_20975893_31436.cpp:18:17: error: '#' is not followed by a macro parameter
#define REP(i, n) for(int i=0; i<n; i++)
^
0_0_20975893_31436.cpp:41:20: error: stray '#' in program
FF(j, 1, n+1) if(lx[i] + ly[j] == w[i][j] && !T[j])
^
0_0_20975893_31436.cpp:41:37: error: stray '#' in program
FF(j, 1, n+1) if(lx[i] + ly[j] == w[i][j] && !T[j])
^
0_0_20975893_31436.cpp:56:20: error: stray '#' in program
FF(i, 1, n+1) if(S[i])
^
0_0_20975893_31436.cpp:57:20: error: stray '#' in program
FF(j, 1, n+1) if(!T[j])
^
0_0_20975893_31436.cpp:58:31: error: stray '#' in program
a = min(a, lx[i] + ly[j] - w[i][j]);
^
0_0_20975893_31436.cpp:59:20: error: stray '#' in program
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:62:29: error: stray '#' in program
if(T[i]) ly[i] += a;
^
0_0_20975893_31436.cpp:68:20: error: stray '#' in program
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:71:24: error: stray '#' in program
FF(j, 1, n+1)
^
0_0_20975893_31436.cpp:74:20: error: stray '#' in program
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:78:28: error: stray '#' in program
FF(j, 1, n+1) S[j] = T[j] = false;
^
0_0_20975893_31436.cpp:84:20: error: stray '#' in program
FF(i, 1, n+1) if(left[i]) ret += w[left[i]][i];
^
0_0_20975893_31436.cpp:84:44: error: stray '#' in program
FF(i, 1, n+1) if(left[i]) ret += w[left[i]][i];
^
0_0_20975893_31436.cpp:97:11: error: stray '#' in program
i++;
^
0_0_20975893_31436.cpp:97:16: error: stray '#' in program
i++;
^
0_0_20975893_31436.cpp:108:20: error: stray '#' in program
FF(i, 1, n+1) scanf("%s", ch[i]);
^
0_0_20975893_31436.cpp:109:20: error: stray '#' in program
FF(i, 1, n+1) FF(j, 1, n+1)
^
0_0_20975893_31436.cpp:109:38: error: stray '#' in program
FF(i, 1, n+1) FF(j, 1, n+1)
^
0_0_20975893_31436.cpp: In member function 'bool KM::match(int)':
0_0_20975893_31436.cpp:41:12: error: 'j' was not declared in this scope
FF(j, 1, n+1) if(lx[i] + ly[j] == w[i][j] && !T[j])
^
0_0_20975893_31436.cpp:41:23: error: expected ')' before ';' token
FF(j, 1, n+1) if(lx[i] + ly[j] == w[i][j] && !T[j])
^
0_0_20975893_31436.cpp:41:25: error: expected ';' before ')' token
FF(j, 1, n+1) if(lx[i] + ly[j] == w[i][j] && !T[j])
^
0_0_20975893_31436.cpp: In member function 'void KM::update()':
0_0_20975893_31436.cpp:56:12: error: 'i' was not declared in this scope
FF(i, 1, n+1) if(S[i])
^
0_0_20975893_31436.cpp:56:23: error: expected ')' before ';' token
FF(i, 1, n+1) if(S[i])
^
0_0_20975893_31436.cpp:56:25: error: expected ';' before ')' token
FF(i, 1, n+1) if(S[i])
^
0_0_20975893_31436.cpp:57:25: error: expected ';' before ')' token
FF(j, 1, n+1) if(!T[j])
^
0_0_20975893_31436.cpp:58:39: error: 'j' was not declared in this scope
a = min(a, lx[i] + ly[j] - w[i][j]);
^
0_0_20975893_31436.cpp:59:23: error: expected ')' before ';' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:59:25: error: expected ';' before ')' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp: In member function 'int KM::km()':
0_0_20975893_31436.cpp:68:12: error: 'i' was not declared in this scope
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:68:23: error: expected ')' before ';' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:68:25: error: expected ';' before ')' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:74:23: error: expected ')' before ';' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:74:25: error: expected ';' before ')' token
FF(i, 1, n+1)
^
0_0_20975893_31436.cpp:86:5: error: expected '}' at end of input
}
^
0_0_20975893_31436.cpp: In function 'int get(char*, char*)':
0_0_20975893_31436.cpp:97:17: error: lvalue required as unary '&' operand
i++;
^
0_0_20975893_31436.cpp: In function 'int main()':
0_0_20975893_31436.cpp:108:12: error: 'i' was not declared in this scope
FF(i, 1, n+1) scanf("%s", ch[i]);
^
0_0_20975893_31436.cpp:108:23: error: expected ')' before ';' token
FF(i, 1, n+1) scanf("%s", ch[i]);
^
0_0_20975893_31436.cpp:108:25: error: expected ';' before ')' token
FF(i, 1, n+1) scanf("%s", ch[i]);
^
0_0_20975893_31436.cpp:109:23: error: expected ')' before ';' token
FF(i, 1, n+1) FF(j, 1, n+1)
^
0_0_20975893_31436.cpp:109:25: error: expected ';' before ')' token
FF(i, 1, n+1) FF(j, 1, n+1)
^
0_0_20975893_31436.cpp:109:43: error: expected ';' before ')' token
FF(i, 1, n+1) FF(j, 1, n+1)
^
|