Borderou de evaluare (job #1185591)
Utilizator | Data | 16 mai 2014 01:53:44 | |
---|---|---|---|
Problema | Online | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int mst()’:
user.cpp:69:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<A[W].size();j++)
^
user.cpp: In function ‘int mst1()’:
user.cpp:104:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<B[W].size();j++)
^
user.cpp: In function ‘void searchF(int, int, int)’:
user.cpp:127:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<B[x].size();i++)
^
user.cpp:133:11: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 1;
^
user.cpp:136:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
return 0;
^
user.cpp: In function ‘int main()’:
user.cpp:158:22: error: invalid operands of types ‘void’ and ‘int’ to binary ‘operator==’
if(searchF(x,y,z)==0)
^
user.cpp:144:9: warning: unused variable ‘Q’ [-Wunused-variable]
muchie Q;
^
user.cpp: In function ‘int down(int)’:
user.cpp:45:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !