Borderou de evaluare (job #1055360)

Utilizator Adrian1997Radulescu Adrian Adrian1997 Data 14 decembrie 2013 11:16:28
Problema Submatrix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void numarare(std::pair<int, int>, std::pair<int, int>)’: user.cpp:32:9: error: ‘x’ was not declared in this scope x=a[i][dr.second],fr[x]++,nr+=(fr[x]==1?1:0); ^ user.cpp:32:35: error: ‘nr’ was not declared in this scope x=a[i][dr.second],fr[x]++,nr+=(fr[x]==1?1:0); ^ user.cpp:33:11: error: ‘sr’ was not declared in this scope for(j=sr.second;j<=dr.second;j++) ^ user.cpp:34:9: error: ‘x’ was not declared in this scope x=a[dr.second][j],fr[x]++,nr+=(fr[x]==1?1:0); ^ user.cpp:34:35: error: ‘nr’ was not declared in this scope x=a[dr.second][j],fr[x]++,nr+=(fr[x]==1?1:0); ^ user.cpp: In function ‘void stergere(std::pair<int, int>, std::pair<int, int>)’: user.cpp:40:9: error: ‘x’ was not declared in this scope x=a[st.first][j],fr[x]--,nr-=(fr[x]==0?1:0); ^ user.cpp:40:34: error: ‘nr’ was not declared in this scope x=a[st.first][j],fr[x]--,nr-=(fr[x]==0?1:0); ^ user.cpp:42:9: error: ‘x’ was not declared in this scope x=a[i][st.second],fr[x]--,nr-=(fr[x]==0?1:0); ^ user.cpp:42:35: error: ‘nr’ was not declared in this scope x=a[i][st.second],fr[x]--,nr-=(fr[x]==0?1:0); ^ user.cpp: In function ‘int main()’: user.cpp:72:30: error: ‘stegere’ was not declared in this scope stegere(st,dr); ^ user.cpp:46:22: warning: unused variable ‘x’ [-Wunused-variable] register int i,j,x,d,e; ^ user.cpp: In function ‘int poz(int)’: user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?