Borderou de evaluare (job #1750564)

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

Raport evaluator

Eroare de compilare: user.cpp:3:19: error: expected ‘]’ before ‘;’ token #define SIZE 50000; ^ user.cpp:4:7: note: in expansion of macro ‘SIZE’ int a[SIZE][SIZE]; ^ user.cpp:4:11: error: expected unqualified-id before ‘]’ token int a[SIZE][SIZE]; ^ user.cpp:4:17: error: expected unqualified-id before ‘]’ token int a[SIZE][SIZE]; ^ user.cpp:3:19: error: expected ‘]’ before ‘;’ token #define SIZE 50000; ^ user.cpp:5:7: note: in expansion of macro ‘SIZE’ int l[SIZE],s[SIZE]; ^ user.cpp:5:11: error: expected unqualified-id before ‘]’ token int l[SIZE],s[SIZE]; ^ user.cpp:5:19: error: expected unqualified-id before ‘]’ token int l[SIZE],s[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:32:4: error: ‘s’ was not declared in this scope s[sindex++]=i; ^ user.cpp:35:8: error: ‘s’ was not declared in this scope while(s[0]!=0){ ^ user.cpp:38:3: error: ‘l’ was not declared in this scope l[lindex++]=node; ^ user.cpp:40:8: error: ‘a’ was not declared in this scope if(a[node][j]==1){ ^ user.cpp:51:9: error: ‘l’ was not declared in this scope cout<<l[i]<<" "; ^

Ceva nu functioneaza?