Borderou de evaluare (job #1675493)

Utilizator acer18Herta Alina acer18 Data 5 aprilie 2016 12:43:57
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:13:4: error: ‘N’ was not declared in this scope }G[N]; ^ user.cpp:15:7: error: ‘N’ was not declared in this scope int r[N], rang[N], sol[N]; ^ user.cpp:15:16: error: ‘N’ was not declared in this scope int r[N], rang[N], sol[N]; ^ user.cpp:15:24: error: ‘N’ was not declared in this scope int r[N], rang[N], sol[N]; ^ user.cpp: In function ‘void citire(int)’: user.cpp:23:14: error: ‘G’ was not declared in this scope fin>>G[i].x>>G[i].y>>G[i].c; ^ user.cpp: In function ‘int root(int)’: user.cpp:35:11: error: ‘r’ was not declared in this scope while(r[x]) ^ user.cpp: In function ‘int algoritm(int, int, int&)’: user.cpp:44:9: error: ‘rang’ was not declared in this scope rang[i]=1; ^ user.cpp:47:17: error: ‘G’ was not declared in this scope Rx=root(G[i].x); ^ user.cpp:52:13: error: ‘sol’ was not declared in this scope sol[++muchii]=i; ^ user.cpp:54:16: error: ‘rang’ was not declared in this scope if(rang[Rx]>rang[Ry]) ^ user.cpp:57:17: error: ‘r’ was not declared in this scope r[Ry]=Rx; ^ user.cpp:62:17: error: ‘r’ was not declared in this scope r[Rx]=Ry; ^ user.cpp: In function ‘int main()’: user.cpp:73:10: error: ‘G’ was not declared in this scope sort(G+1, G+1+m, conditie); ^

Ceva nu functioneaza?