Borderou de evaluare (job #2814018)

Utilizator serafimalex2001Serafim Alex serafimalex2001 Data 7 decembrie 2021 13:22:57
Problema Componente tare conexe Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In member function 'std::pair<int, std::vector<long long int> > Graph::bellmanFord(int)': main.cpp:566:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 566 | inQueue[source] = seen[source] = 1; main.cpp: In function 'int main()': main.cpp:720:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wformat=] 720 | printf("%d\n", solution.size()); | ~^ ~~~~~~~~~~~~~~~ | | | | int std::vector<std::vector<int> >::size_type {aka long unsigned int} | %ld main.cpp:721:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare] 721 | for(int i = 0; i<solution.size(); ++i){ | ~^~~~~~~~~~~~~~~~ main.cpp:722:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 722 | for(int j = 0; j<solution[i].size(); ++j) | ~^~~~~~~~~~~~~~~~~~~ main.cpp:702:21: warning: unused variable 'z' [-Wunused-variable] 702 | int n, m, x, y, z; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbCorect1030
22ms184kbCorect10
32ms184kbCorect10
42ms184kbCorect1030
56ms462kbCorect10
621ms1478kbCorect10
735ms2588kbCorect1030
8101ms5951kbCorect10
9197ms11980kbCorect10
10250ms18587kbCorect1010
Punctaj total100

Ceva nu functioneaza?