Borderou de evaluare (job #1862598)

Utilizator mihai.alphamihai craciun mihai.alpha Data 30 ianuarie 2017 08:44:44
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:36:17: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] #define Hsize 1 << 14 - 1 ^ user.cpp:40:20: note: in expansion of macro ‘Hsize’ vector <int> H[Hsize + 1]; ^ user.cpp: In member function ‘void Hash::insert(int)’: user.cpp:36:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define Hsize 1 << 14 - 1 ^ user.cpp:45:25: note: in expansion of macro ‘Hsize’ int key = val & Hsize; ^ user.cpp: In member function ‘void Hash::erase(int)’: user.cpp:36:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define Hsize 1 << 14 - 1 ^ user.cpp:51:25: note: in expansion of macro ‘Hsize’ int key = val & Hsize; ^ user.cpp: In member function ‘bool Hash::find(int)’: user.cpp:36:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define Hsize 1 << 14 - 1 ^ user.cpp:64:25: note: in expansion of macro ‘Hsize’ int key = val & Hsize; ^ user.cpp: In member function ‘int Hash::count(int)’: user.cpp:36:17: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] #define Hsize 1 << 14 - 1 ^ user.cpp:77:25: note: in expansion of macro ‘Hsize’ int key = val & Hsize; ^ user.cpp: In function ‘char next()’: user.cpp:15:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buf, 1, BUF, fin), pos = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms580kbIncorect00
20ms572kbIncorect00
30ms580kbIncorect00
4436ms912kbIncorect00
5336ms872kbIncorect0
6524ms1160kbIncorect0
7Depăşit1188kbTime limit exceeded.00
828ms2376kbIncorect00
960ms3792kbIncorect0
1056ms2768kbIncorect0
Punctaj total0

Ceva nu functioneaza?