Borderou de evaluare (job #3130648)

Utilizator infomatic2Liviu Firca infomatic2 Data 18 mai 2023 12:25:52
Problema Heapuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In instantiation of 'void btree<n>::lipseste1(node*) [with long unsigned int n = 20]': main.cpp:406:25: required from 'void btree<n>::sterge(int) [with long unsigned int n = 20]' main.cpp:559:29: required from here main.cpp:203:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 203 | for(int i=0;i<y->children.size();++i){// trebuie sa il gasesc in tata | ~^~~~~~~~~~~~~~~~~~~ main.cpp:210:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 210 | if(index==y->separators.size()){ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:234:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 234 | for(int i=0;i<st->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:238:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 238 | for(int i=0;i<x->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ main.cpp:303:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 303 | for(int i=0;i<st->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp:308:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 308 | for(int i=0;i<x->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ main.cpp:356:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 356 | for(int i=0;i<x->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~ main.cpp:360:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node*>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 360 | for(int i=0;i<dr->children.size();i++){ | ~^~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void btree<n>::lipseste1(node*) [with long unsigned int n = 20]': main.cpp:211:40: warning: 'index' may be used uninitialized [-Wmaybe-uninitialized] 211 | node * st=y->children[index-1];// fratele de la stanga | ~~~~~^~ main.cpp:202:13: note: 'index' was declared here 202 | int index; | ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
30ms303kbOK1010
41ms303kbOK1010
50ms303kbOK1060
69ms557kbOK10
719ms2215kbOK10
819ms1744kbOK10
924ms1359kbOK10
1024ms1372kbOK10
Punctaj total100

Ceva nu functioneaza?