Borderou de evaluare (job #3328390)

Utilizator DariuzzHackerPrime Dariuzz Data 8 decembrie 2025 12:49:59
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(int, 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<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:60:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 60 | for(int i = 0 ; i < comp.size() ; i ++ ){ | ~~^~~~~~~~~~~~~ main.cpp:63:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 63 | for(int j = 0 ; j < comp[i].size() ; j ++ ) | ~~^~~~~~~~~~~~~~~~ main.cpp:63:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 63 | for(int j = 0 ; j < comp[i].size() ; j ++ ) | ^~~ main.cpp:65:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 65 | cout<<'\n'; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms819kbIncorect0
20ms819kbIncorect0
31ms819kbIncorect0
40ms823kbIncorect0
51ms819kbIncorect0
62ms1081kbIncorect0
72ms1081kbIncorect0
82ms1081kbIncorect0
94ms1343kbIncorect0
109ms2129kbIncorect0
118ms1867kbIncorect0
129ms1998kbIncorect0
1314ms942kbKilled by Signal 110
1414ms897kbKilled by Signal 110
1514ms892kbKilled by Signal 110
1614ms929kbKilled by Signal 110
1714ms888kbKilled by Signal 110
1814ms897kbKilled by Signal 110
1914ms905kbKilled by Signal 110
2014ms929kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?