Borderou de evaluare (job #2881820)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 30 martie 2022 21:51:26
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Hash::add(int)': main.cpp:22:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 22 | for(int i = 0; i < buckets[x_bucket].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'void Hash::del(int)': main.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 32 | for(int i = 0; i < buckets[x_bucket].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In member function 'bool Hash::exists(int)': main.cpp:42:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | for(int i = 0; i < buckets[x_bucket].size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:55:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 55 | printf("%d\n", sizeof(Hash)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
129ms16195kbIncorect00
214ms16166kbIncorect00
318ms16216kbIncorect00
4142ms16605kbIncorect00
5108ms17715kbIncorect0
6219ms19267kbIncorect0
7237ms19439kbIncorect00
8538ms26120kbIncorect00
9881ms30474kbIncorect0
101203ms26279kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?