Borderou de evaluare (job #1704086)

Utilizator iulian.ionescuIonescu Iulian Costel iulian.ionescu Data 18 mai 2016 00:08:31
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 ‘void creare(int, int)’: user.cpp:29:7: error: ‘b’ was not declared in this scope h[b] = h[b] + 1; ^ user.cpp: In function ‘int main()’: user.cpp:53:5: error: incompatible types in assignment of ‘int*’ to ‘int [200005]’ t = new int [n + 1]; ^ user.cpp:54:5: error: incompatible types in assignment of ‘int*’ to ‘int [200005]’ h = new int [n + 1]; ^ user.cpp:77:7: error: ‘ct’ was not declared in this scope ct = ct + Graf[k].first; ^ user.cpp:86:6: error: ‘ct’ was not declared in this scope g<<ct<<"\n"; ^

Ceva nu functioneaza?