Borderou de evaluare (job #1164525)
Utilizator | Data | 2 aprilie 2014 09:39:32 | |
---|---|---|---|
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 get(int&)’:
user.cpp:41:41: error: invalid type argument of unary ‘*’ (have ‘char’)
while(!('0' <= buff[pos] ** buff[pos] <= '9'))
^
user.cpp: In function ‘int main()’:
user.cpp:62:9: error: ‘N’ was not declared in this scope
get(N);
^
user.cpp:63:9: error: ‘M’ was not declared in this scope
get(M);
^
user.cpp:69:54: error: expected ‘)’ before ‘;’ token
Edges.push_back(make_pair(z, make_pair(x, y));
^
user.cpp:73:9: error: ‘Father’ was not declared in this scope
Father[++ comp] = comp;
^
user.cpp:74:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < Edges.size() && comp != 1 ; ++ i) {
^
user.cpp:75:23: error: ‘it’ was not declared in this scope
int Tx = Find(it->second.first);
^
user.cpp:75:39: error: ‘Find’ was not declared in this scope
int Tx = Find(it->second.first);
^
user.cpp:79:9: error: ‘Father’ was not declared in this scope
Father[Tx] = Ty;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !