Borderou de evaluare (job #2894581)

Utilizator mihairazvan03Dana Mihai mihairazvan03 Data 27 aprilie 2022 23:23:50
Problema Proc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void coboaraLibere(int)': main.cpp:35:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 35 | if(!(poz * 2 + 1 >= procLibere.size())) //adica fiul sau din stanga exista deci are unde cobora | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:38:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 38 | if(poz * 2 + 2 == procLibere.size() || fiuSt < procLibere[poz * 2 + 2]) //adica daca nu are fiu drept sau fiul stang e mai mare decat dreptul | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'void coboaraOcupate(int)': main.cpp:85:22: 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] 85 | if(!(poz * 2 + 1 >= procOcupat.size())) //adica fiul sau din stanga exista deci are unde cobora | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:88:24: 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] 88 | if(poz * 2 + 2 == procOcupat.size() || fiuSt < procOcupat[poz * 2 + 2].second) //adica daca nu are fiu drept sau fiul stang e mai mare decat dreptul | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
21ms184kbOK10
31ms184kbOK10
436ms888kbOK10
563ms1261kbOK10
650ms1671kbOK10
7106ms1474kbOK10
8123ms2711kbOK10
9113ms2281kbOK10
10123ms2703kbOK10
Punctaj total100

Ceva nu functioneaza?