Borderou de evaluare (job #1180554)

Utilizator SapientiaCHIRILA ADRIAN Sapientia Data 30 aprilie 2014 19:03:00
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:22: error: ‘minn’ does not name a type short int colmin=200;minn=9999,q,t,i,j1,n,m,a[Nmax][Nmax],b[Nmax][Nmax],ro[Nmax][Nmax],ju[Nmax][Nmax]; ^ user.cpp: In function ‘void reading(short int&, short int&)’: user.cpp:22:30: error: ‘a’ was not declared in this scope if (c[j]=='X') a[k][j+1]=b[k][j+1]=1; ^ user.cpp:22:40: error: ‘b’ was not declared in this scope if (c[j]=='X') a[k][j+1]=b[k][j+1]=1; ^ user.cpp:23:36: error: ‘a’ was not declared in this scope else if (c[j]==' ') a[k][j+1]=b[k][j+1]=0; ^ user.cpp:23:46: error: ‘b’ was not declared in this scope else if (c[j]==' ') a[k][j+1]=b[k][j+1]=0; ^ user.cpp:24:38: error: ‘a’ was not declared in this scope else if (c[j]=='R') {a[k][j+1]=b[k][j+1]=0;rom.x=k;rom.y=j+1;} ^ user.cpp:24:48: error: ‘b’ was not declared in this scope else if (c[j]=='R') {a[k][j+1]=b[k][j+1]=0;rom.x=k;rom.y=j+1;} ^ user.cpp:25:25: error: ‘a’ was not declared in this scope else {a[k][j+1]=b[k][j+1]=0;jul.x=k;jul.y=j+1;} ^ user.cpp:25:35: error: ‘b’ was not declared in this scope else {a[k][j+1]=b[k][j+1]=0;jul.x=k;jul.y=j+1;} ^ user.cpp:26:19: error: ‘ro’ was not declared in this scope ro[k][j+1]=ju[k][j+1]=0; ^ user.cpp:26:30: error: ‘ju’ was not declared in this scope ro[k][j+1]=ju[k][j+1]=0; ^ user.cpp: In function ‘void leer()’: user.cpp:36:4: error: ‘a’ was not declared in this scope a[rom.y][rom.x]=1; ^ user.cpp:44:16: error: ‘ro’ was not declared in this scope if (!ro[xx-1][yy]) ^ user.cpp:52:15: error: ‘n’ was not declared in this scope if (xx<n) if (!a[xx+1][yy]) ^ user.cpp:54:17: error: ‘ro’ was not declared in this scope if (!ro[xx+1][yy]) ^ user.cpp:64:17: error: ‘ro’ was not declared in this scope if (!ro[xx][yy-1]) ^

Ceva nu functioneaza?