Pagini recente » Borderou de evaluare (job #169830) | Borderou de evaluare (job #379952) | Borderou de evaluare (job #1973328) | Borderou de evaluare (job #495332) | Borderou de evaluare (job #1813594)
Borderou de evaluare (job #1813594)
Raport evaluator
Compilare:
user.cpp: In function ‘void hashInsert(const int&)’:
user.cpp:84:9: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
H[x & Lch].push_back(x);
^
user.cpp: In function ‘int hashFind(const int&)’:
user.cpp:89:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:92:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < H[key].size(); i ++)
^
user.cpp: In function ‘void hashErase(const int&)’:
user.cpp:104:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:106:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < H[key].size(); i ++)
^
user.cpp: In member function ‘char InParser::read_ch()’:
user.cpp:34:39: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, 65536, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 872kb | OK | 10 |
2 | 0ms | 912kb | OK | 10 |
3 | 12ms | 1944kb | OK | 10 |
4 | 108ms | 7804kb | OK | 10 |
5 | 204ms | 14176kb | OK | 10 |
6 | 256ms | 19336kb | OK | 10 |
7 | 264ms | 22476kb | OK | 10 |
8 | 340ms | 23852kb | OK | 10 |
9 | 384ms | 24868kb | OK | 10 |
10 | 280ms | 24932kb | OK | 10 |
Punctaj total | 100 |