Borderou de evaluare (job #3178211)

Utilizator raresp19Papusoi Rares raresp19 Data 1 decembrie 2023 13:39:41
Problema Trilant Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In member function 'std::vector<std::pair<long long int, int> > Graf::dijkstra(int)': main.cpp:34:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 34 | for (int i = 0; i < adj[nod].size(); i++) { | ~~^~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::trilant(int, int, int)': main.cpp:88:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 88 | for (int i = 0; i < drumA.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:92:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 92 | for (int i = 0; i < drumB.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:96:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 96 | for (int i = 0; i < drumC.size(); i++) | ~~^~~~~~~~~~~~~~ main.cpp:83:48: warning: 'nod' may be used uninitialized [-Wmaybe-uninitialized] 83 | vector<int> drumB = drum(nod, distanteB); | ^ main.cpp:73:13: note: 'nod' was declared here 73 | int nod; | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbCorect510
110ms303kbCorect5
20ms303kbCorect510
120ms303kbCorect5
31ms557kbCorect510
135ms2392kbCorect5
41ms557kbCorect510
142ms1081kbCorect5
51ms1081kbCorect510
152ms1343kbCorect5
6187ms39718kbCorect510
160ms303kbCorect5
7148ms34476kbCorect510
170ms303kbCorect5
8133ms33058kbCorect50
1844ms23310kbDrumurile afisate trebuie sa se termine cu A, B sau C0
9182ms38154kbCorect50
1939ms21827kbDrumurile afisate trebuie sa se termine cu A, B sau C0
10182ms40128kbCorect50
2038ms22163kbDrumurile afisate trebuie sa se termine cu A, B sau C0
Punctaj total70

Ceva nu functioneaza?