Borderou de evaluare (job #949984)
Utilizator | Data | 15 mai 2013 16:57:06 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void update(int)’:
user.cpp:23:8: error: ‘st’ was not declared in this scope
if(st == dr)
^
user.cpp:23:14: error: ‘dr’ was not declared in this scope
if(st == dr)
^
user.cpp:28:16: error: ‘st’ was not declared in this scope
int mij = (st + dr)/2;
^
user.cpp:28:21: error: ‘dr’ was not declared in this scope
int mij = (st + dr)/2;
^
user.cpp:32:41: error: return-statement with a value, in function returning 'void' [-fpermissive]
return update(2*nod+1, mij+1, dr);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !