Borderou de evaluare (job #1750565)

Utilizator bogdanluncasubogdan bogdanluncasu Data 30 august 2016 15:00:00
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:4:17: error: size of array ‘a’ is too large int a[SIZE][SIZE]; ^ user.cpp: In function ‘bool inmuchii(int, int)’: user.cpp:8:6: error: ‘a’ was not declared in this scope if(a[j][node]==1){ ^ user.cpp: In function ‘int main()’: user.cpp:20:17: error: ‘a’ was not declared in this scope cin>>x,cin>>y,a[x][y]=1; ^ user.cpp:28:7: error: ‘a’ was not declared in this scope if(a[j][i]==1){ ^ user.cpp:40:8: error: ‘a’ was not declared in this scope if(a[node][j]==1){ ^ user.cpp:17:10: warning: unused variable ‘c’ [-Wunused-variable] int i,j,c,n,x,y,m; ^ user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.in", "r", stdin); ^ user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.out", "w", stdout); ^

Ceva nu functioneaza?