Borderou de evaluare (job #2027019)

Utilizator luanastLuana Strimbeanu luanast Data 25 septembrie 2017 14:50:01
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:36:13: error: ‘sol’ was not declared in this scope sol += L[i].cost; ^ user.cpp:37:13: error: ‘S’ was not declared in this scope S[++k] = x; ^ user.cpp:37:17: error: ‘k’ was not declared in this scope S[++k] = x; ^ user.cpp:38:13: error: ‘D’ was not declared in this scope D[k] = y; ^ user.cpp:50:11: error: ‘sol’ was not declared in this scope fout<<sol<<"\n"<<n-1<<"\n"; ^ user.cpp:51:17: error: ‘k’ was not declared in this scope for (i=1;i<=k;i++) ^ user.cpp:52:15: error: ‘S’ was not declared in this scope fout<<S[i]<<" "<<D[i]<<"\n"; ^ user.cpp:52:26: error: ‘D’ was not declared in this scope fout<<S[i]<<" "<<D[i]<<"\n"; ^

Ceva nu functioneaza?