Pagini recente » Borderou de evaluare (job #2239097) | Borderou de evaluare (job #3216130) | Borderou de evaluare (job #1615796) | Borderou de evaluare (job #2952252) | Borderou de evaluare (job #3172292)
Borderou de evaluare (job #3172292)
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 |
1 | 29ms | 1970kb | OK | 100 |
Punctaj total | 100 |