Borderou de evaluare (job #2790873)

Utilizator RoberttoPopescu Paullo Robertto Karloss Robertto Data 29 octombrie 2021 18:05:02
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:82:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 82 | for (int j = 0; j < adiacenta[nodPlecare].size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DFS(int)': main.cpp:120:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DF1(int)': main.cpp:128:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 128 | for (int i = 0; i < adiacenta[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::DF2(int)': main.cpp:137:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for (int i = 0; i < adiacenta2[nodPlecare].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Graf::citireBFS(int&)': main.cpp:60:20: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations] 60 | vizitat[i] = -1; | ~~~~~~~~~~~^~~~ main.cpp:59:23: note: within this loop 59 | for (int i = 1; i <= maxi; i++) | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
113ms7487kbComponente tare conexe: gresit412
213ms7409kbComponente tare conexe: gresit4
325ms7389kbComponente tare conexe: gresit4
413ms7430kbComponente tare conexe: gresit412
519ms7659kbComponente tare conexe: gresit4
636ms8056kbComponente tare conexe: gresit4
744ms8601kbComponente tare conexe: gresit412
8104ms10076kbComponente tare conexe: gresit4
9201ms12955kbComponente tare conexe: gresit4
10224ms15478kbComponente tare conexe: gresit44
Punctaj total40

Ceva nu functioneaza?