Borderou de evaluare (job #2927363)

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

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:72:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 72 | for(int i = 0; i < result.size(); ++i){ | ~~^~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK10
2152ms184kbTime limit exceeded0
30ms184kbOK10
4155ms184kbTime limit exceeded0
50ms184kbOK10
6153ms1626kbTime limit exceeded0
775ms954kbOK10
8153ms1232kbTime limit exceeded0
9155ms1495kbTime limit exceeded0
10152ms1495kbTime limit exceeded0
Punctaj total40

Ceva nu functioneaza?