Borderou de evaluare (job #2894564)

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

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:33:16: warning: unused variable 'fiuDr' [-Wunused-variable] 33 | int fiuSt, fiuDr; | ^~~~~ 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, 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, 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 | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.cpp:83:16: warning: unused variable 'fiuDr' [-Wunused-variable] 83 | int fiuSt, fiuDr; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK10
216ms880kbOK10
36ms569kbOK10
4150ms552kbTime limit exceeded0
5155ms610kbTime limit exceeded0
6151ms925kbTime limit exceeded0
7156ms827kbTime limit exceeded0
8152ms1343kbTime limit exceeded0
9153ms884kbTime limit exceeded0
10153ms1351kbTime limit exceeded0
Punctaj total30

Ceva nu functioneaza?