Borderou de evaluare (job #3328389)

Utilizator DariuzzHackerPrime Dariuzz Data 8 decembrie 2025 12:49:05
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<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
30ms819kbIncorect0
40ms819kbIncorect0
50ms819kbIncorect0
62ms1085kbIncorect0
72ms1081kbIncorect0
82ms1081kbIncorect0
98ms1871kbIncorect0
109ms2002kbIncorect0
119ms2129kbIncorect0
129ms2129kbIncorect0
1314ms946kbKilled by Signal 110
1414ms933kbKilled by Signal 110
1514ms888kbKilled by Signal 110
1614ms942kbKilled by Signal 110
1714ms950kbKilled by Signal 110
1814ms901kbKilled by Signal 110
1914ms897kbKilled by Signal 110
2014ms946kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?