Borderou de evaluare (job #2962576)

Utilizator NefelibataAnton Marius Alexandru Nefelibata Data 8 ianuarie 2023 18:57:02
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'bool exists(int)': main.cpp:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 56 | if(q == v[i].size() - 1) | ~~^~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:120:64: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 120 | for(j = v[ord[i]].size() - mat[ord[i - 1]][ord[i]] ; j < v[ord[i]].size() ; j++) | ~~^~~~~~~~~~~~~~~~~~ main.cpp:64:16: warning: unused variable 'q' [-Wunused-variable] 64 | int i,j,ii,q; | ^ main.cpp: In function 'bool exists(int)': main.cpp:50:20: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | m = v[j].size() - 1; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms184kbOK!10
20ms184kbOK!10
30ms184kbOK!10
40ms184kbOK!10
50ms184kbOK!10
68ms2887kbOK!10
720ms2633kbOK!10
881ms9662kbOK!10
9180ms27815kbOK!10
10286ms36233kbOK!10
Punctaj total100

Ceva nu functioneaza?