Borderou de evaluare (job #1950939)

Utilizator qqqpppqqq ppp qqqppp Data 3 aprilie 2017 12:48:54
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:26:23: error: ‘b’ was not declared in this scope for(j=1;j<=m;j++){b[i][j]=0;lda[i][j]=0;} ^ user.cpp:27:34: error: ‘gr’ was not declared in this scope for(j=1;j<=n;j++){a[i][j]=0; gr[i].val=0;} ^ user.cpp:33:23: error: ‘b’ was not declared in this scope b[x][i]=1; ^ user.cpp:40:23: error: expected ‘}’ at end of input } ^ user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retele.in", "r", stdin); ^ user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("retele.out", "w", stdout); ^

Ceva nu functioneaza?