Borderou de evaluare (job #3172292)

Utilizator Cazacu2006RazvanRazvan Cazacu Cazacu2006Razvan Data 20 noiembrie 2023 14:35:33
Problema Razboiul lumilor Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(int)': main.cpp:13:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 13 | for(int i=0;i<v[nod].size();i++) | ~^~~~~~~~~~~~~~ main.cpp: In function 'void dfs2(int, int, int)': main.cpp:48:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 48 | else | ^~~~ main.cpp:51:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 51 | if(s>l1[nod]) | ^~ main.cpp:64:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 64 | for(int i=0;i<v[nod].size();i++) | ~^~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
129ms1970kbOK100
Punctaj total100

Ceva nu functioneaza?