Borderou de evaluare (job #1424860)
Utilizator | Data | 25 aprilie 2015 16:38:39 | |
---|---|---|---|
Problema | Diametrul unui arbore | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void bf(int, int&)’:
user.cpp:15:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<a[i].size();j++)
^
user.cpp: In function ‘void bf_niv(int, int&)’:
user.cpp:36:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<a[i].size();j++)
^
user.cpp:51:4: error: ‘g’ was not declared in this scope
g<<endl<<"Diametrul: "<<max<<endl;
^
user.cpp: In function ‘int main()’:
user.cpp:72:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,y,i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !