Borderou de evaluare (job #2790860)

Utilizator RoberttoPopescu Paullo Robertto Karloss Robertto Data 29 octombrie 2021 17:48:28
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In member function 'void Graf::BFS()': main.cpp:79:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 79 | for (int j = 0; j < adiacenta[nodPlecare].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DFS(int)': main.cpp:117:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 117 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DF1(int)': main.cpp:125:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 125 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DF2(int)': main.cpp:134:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 134 | for (int i = 0; i < adiacenta2[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::citireBFS(int&)': main.cpp:57:20: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations] 57 | vizitat[i] = -1; | ~~~~~~~~~~~^~~~ main.cpp:56:23: note: within this loop 56 | for (int i = 1; i <= maxi; i++) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
113ms6643kbComponente tare conexe: gresit412
213ms6582kbComponente tare conexe: gresit4
313ms6590kbComponente tare conexe: gresit4
419ms5914kbComponente tare conexe: gresit412
513ms6770kbComponente tare conexe: gresit4
624ms7245kbComponente tare conexe: gresit4
740ms7802kbComponente tare conexe: gresit412
889ms9244kbComponente tare conexe: gresit4
9167ms12173kbComponente tare conexe: gresit4
10329ms14626kbComponente tare conexe: gresit44
Punctaj total40

Ceva nu functioneaza?