Borderou de evaluare (job #1704085)
Utilizator | Data | 18 mai 2016 00:07:26 | |
---|---|---|---|
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:20:3: error: ‘nod1’ was not declared in this scope
nod1 = cautare_tata(t, u);
^
user.cpp:21:3: error: ‘nod2’ was not declared in this scope
nod2 = cautare_tata(t, v);
^
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:70:3: error: ‘k’ was not declared in this scope
k = 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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !