Pagini recente » Borderou de evaluare (job #2515338) | Borderou de evaluare (job #3178626) | Borderou de evaluare (job #2026632) | Borderou de evaluare (job #1302572) | Borderou de evaluare (job #2322632)
Borderou de evaluare (job #2322632)
Raport evaluator
Compilare:
main.cpp: In function 'void Set(int*, int)':
main.cpp:46:26: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a, 0, sizeof(a));
^
main.cpp:44:16: note: declared here
void Set(int a[], int x)
^
main.cpp:46:24: 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(a, 0, sizeof(a));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | OK | 10 |
| 2 | 3ms | 393kb | Incorect | 0 |
| 3 | 4ms | 655kb | Incorect | 0 |
| 4 | 4ms | 917kb | Incorect | 0 |
| 5 | 8ms | 1310kb | Incorect | 0 |
| 6 | 13ms | 1835kb | Incorect | 0 |
| 7 | 11ms | 2490kb | Incorect | 0 |
| 8 | 35ms | 2752kb | Incorect | 0 |
| 9 | 93ms | 3538kb | Incorect | 0 |
| 10 | 2ms | 131kb | OK | 10 |
| Punctaj total | 20 |