Borderou de evaluare (job #2009018)
Utilizator | Data | 8 august 2017 13:47:06 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:11:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<V[q].size(); i++){
^
user.cpp: At global scope:
user.cpp:17:13: error: ISO C++ forbids declaration of ‘dfsinv’ with no type [-fpermissive]
dfsinv(int q){
^
user.cpp: In function ‘int dfsinv(int)’:
user.cpp:19:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<Inv[q].size(); i++){
^
user.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:43:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0; j<Sol[i].size(); j++) cout<<Sol[i][j]<<" ";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !