Borderou de evaluare (job #2794113)

Utilizator teodorescunicolasteodorescu nicolas alexandru teodorescunicolas Data 4 noiembrie 2021 12:37:26
Problema Progr Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void add(int)': main.cpp:30:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 30 | while ( i < myHash[hash].size() && myHash[hash][i] != val ) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:33:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 33 | if ( i == myHash[hash].size() ) | ~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'bool find(int)': main.cpp:42:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 42 | while ( i < myHash[hash].size() && myHash[hash][i] != val ) | ~~^~~~~~~~~~~~~~~~~~~~~ main.cpp:45:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 45 | return i < myHash[hash].size(); | ~~^~~~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1682ms2740kbOK100
Punctaj total100

Ceva nu functioneaza?