Borderou de evaluare (job #2927362)

Utilizator AlexePaulAlexe Paul AlexePaul Data 20 octombrie 2022 11:00:32
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void DFS(int)': main.cpp:22:18: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 22 | if(path.size() < mini){ | ~~~~~~~~~~~~^~~~~~ main.cpp:25:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 25 | for(int i = 0; i < path.size(); ++i){ | ~~^~~~~~~~~~~~~ main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 30 | else if(path.size() == mini){ | ~~~~~~~~~~~~^~~~~~~ main.cpp:32:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i = 0; i < path.size(); ++i){ | ~~^~~~~~~~~~~~~ main.cpp:38:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | for(int i = 0; i < adiacenta[node].size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:39:74: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 39 | if(visited[adiacenta[node][i]] == false || length[adiacenta[node][i]] >= path.size()){ main.cpp: In function 'int main()': main.cpp:71:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 71 | for(int i = 0; i < result.size(); ++i){ | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbIncorect0
2154ms184kbTime limit exceeded0
30ms184kbIncorect0
4153ms184kbTime limit exceeded0
50ms184kbIncorect0
6152ms1626kbTime limit exceeded0
773ms839kbIncorect0
8155ms1232kbTime limit exceeded0
9152ms1495kbTime limit exceeded0
10150ms1495kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?