Borderou de evaluare (job #1347976)
Utilizator | Data | 19 februarie 2015 13:32:25 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Ini()’:
user.cpp:15:5: error: ‘ad’ was not declared in this scope
ad[i]=oo;
^
user.cpp: In function ‘void BFS()’:
user.cpp:20:5: error: ‘ad’ was not declared in this scope
ad[1]=0;
^
user.cpp:26:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<a[k].size(); i++)
^
user.cpp: In function ‘void Euler(int)’:
user.cpp:63:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<a[k].size(); i++)
^
user.cpp:60:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘int Pozitiaeu()’:
user.cpp:79:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:92:13: warning: unused variable ‘d’ [-Wunused-variable]
int i,x,d,sol,y;
^
user.cpp:92:15: warning: unused variable ‘sol’ [-Wunused-variable]
int i,x,d,sol,y;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !