Borderou de evaluare (job #3178204)

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

Raport evaluator

Compilare: main.cpp: In member function 'std::vector<std::pair<long long int, int> > Graf::dijkstra(int)': main.cpp:33: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] 33 | 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
10ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
110ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
20ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
120ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
31ms557kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
134ms2392kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
41ms557kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
142ms1081kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
51ms1081kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
152ms1343kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
6187ms39657kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
160ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
7153ms34299kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
170ms303kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie0
8137ms32985kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
1844ms23351kbDrumurile afisate trebuie sa se termine cu A, B sau C0
9173ms38150kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
1939ms21827kbDrumurile afisate trebuie sa se termine cu A, B sau C0
10182ms40136kbNodul comun X trebuie sa fie prezent in toate drumurile pe prima pozitie00
2039ms22163kbDrumurile afisate trebuie sa se termine cu A, B sau C0
Punctaj total0

Ceva nu functioneaza?