Pagini recente » Borderou de evaluare (job #577956) | Borderou de evaluare (job #1976012) | Borderou de evaluare (job #3166684) | Borderou de evaluare (job #3188878) | Borderou de evaluare (job #1813592)
Borderou de evaluare (job #1813592)
Raport evaluator
Compilare:
user.cpp: In function ‘void hashInsert(const int&)’:
user.cpp:145: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:150:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:153: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:165:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:167: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 | 880kb | OK | 10 |
2 | 0ms | 920kb | OK | 10 |
3 | 12ms | 1948kb | OK | 10 |
4 | 108ms | 7808kb | OK | 10 |
5 | 204ms | 14180kb | OK | 10 |
6 | 256ms | 19340kb | OK | 10 |
7 | 268ms | 22480kb | OK | 10 |
8 | 344ms | 23856kb | OK | 10 |
9 | 388ms | 24868kb | OK | 10 |
10 | 284ms | 24932kb | OK | 10 |
Punctaj total | 100 |