Pagini recente » Borderou de evaluare (job #1232660) | Borderou de evaluare (job #2818245) | Borderou de evaluare (job #1536654) | Borderou de evaluare (job #1117609) | Borderou de evaluare (job #2105497)
Borderou de evaluare (job #2105497)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Hash::Hash()’:
user.cpp:15:30: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(list, 0x00, sizeof(list));
^
user.cpp: In member function ‘void Hash::clear()’:
user.cpp:30:30: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(list, 0x00, sizeof(list));
^
user.cpp: In function ‘int main()’:
user.cpp:47:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
user.cpp:58:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | Incorect | 0 |
2 | 0ms | 484kb | Incorect | 0 |
3 | 8ms | 492kb | Incorect | 0 |
4 | 36ms | 488kb | Incorect | 0 |
5 | 40ms | 484kb | OK | 10 |
6 | 72ms | 488kb | Incorect | 0 |
7 | 96ms | 488kb | Incorect | 0 |
8 | 104ms | 484kb | Incorect | 0 |
9 | 124ms | 492kb | Incorect | 0 |
10 | 116ms | 492kb | Incorect | 0 |
Punctaj total | 10 |