Borderou de evaluare (job #978130)

Utilizator olteanul_georgeOltean George olteanul_george Data 27 iulie 2013 22:51:16
Problema Banana Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:0: warning: ignoring #pragma option [-Wunknown-pragmas] #pragma option -3 -r -Z -O2 -a ^ user.cpp:11:9: error: expected initializer before ‘xy’ int far xy[MAXN][2]; ^ user.cpp:12:9: error: expected initializer before ‘a’ int far a[MAXN], far b[MAXN]; ^ user.cpp:14:9: error: expected initializer before ‘xcnt’ int far xcnt[MAXN + 1]; ^ user.cpp:16:19: error: expected ‘,’ or ‘...’ before ‘*’ token void sort(int far *a, int far *b, int x) ^ user.cpp: In function ‘void sort(int)’: user.cpp:22:7: error: ‘xy’ was not declared in this scope cnt[xy[i][x]]++; ^ user.cpp:22:13: error: ‘x’ was not declared in this scope cnt[xy[i][x]]++; ^ user.cpp:27:18: error: ‘a’ was not declared in this scope for(i = n; i--; a++) ^ user.cpp:28:3: error: ‘b’ was not declared in this scope b[cnt[xy[*a][x]]++] = *a; ^ user.cpp:28:9: error: ‘xy’ was not declared in this scope b[cnt[xy[*a][x]]++] = *a; ^ user.cpp:28:16: error: ‘x’ was not declared in this scope b[cnt[xy[*a][x]]++] = *a; ^ user.cpp: At global scope: user.cpp:44:19: error: expected ‘,’ or ‘...’ before ‘*’ token void uniq(int far *p, int x) ^ user.cpp: In function ‘void uniq(int)’: user.cpp:48:18: error: ‘p’ was not declared in this scope for(i = n; --i; p++) { ^ user.cpp:49:7: error: ‘xy’ was not declared in this scope if((xy[*p][x] != xy[p[1]][x]) ^ user.cpp:49:14: error: ‘x’ was not declared in this scope if((xy[*p][x] != xy[p[1]][x]) ^ user.cpp: In function ‘int main()’: user.cpp:72:19: error: ‘xy’ was not declared in this scope

Ceva nu functioneaza?