Borderou de evaluare (job #3221911)

Utilizator alex210046Bratu Alexandru alex210046 Data 8 aprilie 2024 15:05:24
Problema Domino Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void df(int)': main.cpp:20:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 20 | for(int i = 0;i < vec[nod].size(); i++) | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:69:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<edge>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 69 | for(int j = 0; j < vec[i].size(); j++) | ~~^~~~~~~~~~~~~~~ main.cpp:69:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 69 | for(int j = 0; j < vec[i].size(); j++) | ^~~ main.cpp:71:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 71 | sort(vec[i].begin(),vec[i].end(),mycmp); | ^~~~ main.cpp:71:46: error: 'mycmp' was not declared in this scope; did you mean 'memcmp'? 71 | sort(vec[i].begin(),vec[i].end(),mycmp); | ^~~~~ | memcmp Non zero exit status: 1

Ceva nu functioneaza?