Borderou de evaluare (job #3168202)

Utilizator xDemonstyMatei Haba Ionut xDemonsty Data 11 noiembrie 2023 19:01:03
Problema Retele Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs1(long long int)': main.cpp:18:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 18 | for (int i = 0 ; i < adj [ nod ] .size() ; i++ ) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void dfs2(long long int)': main.cpp:37:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 37 | for ( int i = 0 ; i < transposed[ nod] .size() ; i ++ ) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:94:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 94 | for ( int j = 0 ; j < marcat[ i ] .size() ; j ++ ) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:94:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 94 | for ( int j = 0 ; j < marcat[ i ] .size() ; j ++ ) | ^~~ main.cpp:97:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 97 | cout << '\n'; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms303kbIncorect0
21ms303kbIncorect0
31ms303kbIncorect0
41ms303kbIncorect0
51ms303kbIncorect0
62ms561kbIncorect0
72ms557kbIncorect0
82ms557kbIncorect0
98ms1609kbIncorect0
109ms1605kbIncorect0
119ms1605kbIncorect0
129ms1609kbIncorect0
1349ms6201kbIncorect0
1448ms6172kbIncorect0
1549ms6201kbIncorect0
1649ms6582kbIncorect0
1749ms6307kbIncorect0
1859ms10043kbIncorect0
1964ms10448kbIncorect0
2059ms8491kbIncorect0
Punctaj total0

Ceva nu functioneaza?