Pagini recente » Borderou de evaluare (job #3287851) | Borderou de evaluare (job #3185027) | Borderou de evaluare (job #2829811) | Borderou de evaluare (job #1575903) | Borderou de evaluare (job #1813590)
Borderou de evaluare (job #1813590)
Raport evaluator
Compilare:
user.cpp: In function ‘void hashInsert(const int&)’:
user.cpp:132: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:137:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:140: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:152:17: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
int key = x & Lch;
^
user.cpp:154: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 DFS(const int&, const int&)’:
user.cpp:171:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < L[node].size(); i ++)
^
user.cpp: In member function ‘char InParser::read_ch()’:
user.cpp:21: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 | 20ms | 12592kb | OK | 10 |
| 2 | 20ms | 12612kb | OK | 10 |
| 3 | 36ms | 13340kb | OK | 10 |
| 4 | 156ms | 17068kb | OK | 10 |
| 5 | 272ms | 21036kb | OK | 10 |
| 6 | 352ms | 24236kb | OK | 10 |
| 7 | 368ms | 26184kb | OK | 10 |
| 8 | 452ms | 27028kb | OK | 10 |
| 9 | 500ms | 27692kb | OK | 10 |
| 10 | 392ms | 27736kb | OK | 10 |
| Punctaj total | 100 |