Borderou de evaluare (job #3328393)

Utilizator DariuzzHackerPrime Dariuzz Data 8 decembrie 2025 12:58:17
Problema Retele Status done
Runda Teme Pregatire ACM Unibuc 2013 Semestrul 2 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(int, std::vector<std::vector<int> >&)': main.cpp:12:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 12 | for(int j = 0 ; j < G[start].size() ; j ++ ){ | ~~^~~~~~~~~~~~~~~~~ main.cpp: In function 'void dfs2(int, std::vector<std::vector<int> >&, std::vector<int>&)': main.cpp:21:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 21 | if(!viz[start]) | ^~ main.cpp:23:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 23 | viz[start] = 1 ; | ^~~ main.cpp:24:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 24 | for(int j = 0 ; j < GT[start].size() ; j ++ ){ | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:62:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 62 | for(int i = 0 ; i < comp.size() ; i ++ ){ | ~~^~~~~~~~~~~~~ main.cpp:65:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 65 | for(int j = 0 ; j < comp[i].size() ; j ++ ) | ~~^~~~~~~~~~~~~~~~ main.cpp:65:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 65 | for(int j = 0 ; j < comp[i].size() ; j ++ ) | ^~~ main.cpp:67:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 67 | cout<<'\n'; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
20ms303kbIncorect0
30ms303kbIncorect0
40ms303kbIncorect0
50ms303kbIncorect0
62ms557kbIncorect0
72ms557kbIncorect0
82ms557kbIncorect0
98ms1605kbIncorect0
109ms1867kbIncorect0
119ms1867kbIncorect0
128ms1605kbIncorect0
1349ms6217kbIncorect0
1449ms6377kbIncorect0
1549ms6324kbIncorect0
1654ms6950kbIncorect0
1753ms6721kbIncorect0
1863ms11640kbIncorect0
1963ms11616kbIncorect0
2064ms9555kbIncorect0
Punctaj total0

Ceva nu functioneaza?