Pagini recente » Borderou de evaluare (job #2853713) | Borderou de evaluare (job #2142115) | Borderou de evaluare (job #1574097) | Borderou de evaluare (job #789897) | Borderou de evaluare (job #2694906)
Borderou de evaluare (job #2694906)
Raport evaluator
Compilare:
main.cpp: In function 'void Add(int_fast16_t*, int_fast16_t*, int_fast16_t*)':
main.cpp:13:26: warning: 'sizeof' on array function parameter 'a' will return size of 'int_fast16_t* {aka long int*}' [-Wsizeof-array-argument]
memset(a, 0, sizeof(a));
^
main.cpp:11:32: note: declared here
inline void Add(int_fast16_t a[], int_fast16_t b[], int_fast16_t c[])
^
main.cpp:13: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));
^
main.cpp: In function 'void Multiply(int_fast16_t*, int_fast16_t*, int_fast16_t)':
main.cpp:23:26: warning: 'sizeof' on array function parameter 'a' will return size of 'int_fast16_t* {aka long int*}' [-Wsizeof-array-argument]
memset(a, 0, sizeof(a));
^
main.cpp:21:37: note: declared here
inline void Multiply(int_fast16_t a[], int_fast16_t b[], int_fast16_t x)
^
main.cpp:23: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 | 3ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 3ms | 131kb | OK | 5 |
| 6 | 3ms | 131kb | OK | 5 |
| 7 | 3ms | 131kb | OK | 5 |
| 8 | 3ms | 131kb | OK | 5 |
| 9 | 3ms | 131kb | Incorect | 0 |
| 10 | 4ms | 131kb | OK | 5 |
| 11 | 4ms | 131kb | OK | 5 |
| 12 | 5ms | 131kb | OK | 5 |
| 13 | 8ms | 131kb | OK | 5 |
| 14 | 11ms | 131kb | OK | 5 |
| 15 | 14ms | 131kb | Incorect | 0 |
| 16 | 20ms | 262kb | Incorect | 0 |
| 17 | 24ms | 262kb | OK | 5 |
| 18 | 29ms | 262kb | OK | 5 |
| 19 | 31ms | 393kb | Incorect | 0 |
| 20 | 40ms | 262kb | OK | 5 |
| Punctaj total | 80 |