Pagini recente » Borderou de evaluare (job #1462839) | Borderou de evaluare (job #3201517) | Borderou de evaluare (job #1600002) | Borderou de evaluare (job #1941210) | Borderou de evaluare (job #1029778)
Borderou de evaluare (job #1029778)
Raport evaluator
Compilare:
user.cpp: In function ‘void mat2mul(int (*)[2], int (*)[2], int (*)[2])’:
user.cpp:17: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 (res, 0, sizeof(res));
^
user.cpp: In function ‘void identity2(int (*)[2])’:
user.cpp:26:23: 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(res, 0, sizeof(res));
^
user.cpp: In function ‘void copy2(int (*)[2], int (*)[2])’:
user.cpp:32:25: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same pointer type ‘int (*)[2]’ as the destination; expected ‘int [2]’ or an explicit length [-Wsizeof-pointer-memaccess]
memcpy(res, src, sizeof(src));
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 408kb | Incorect | 0 |
✓ | 2 | 0ms | 404kb | Incorect | 0 |
✓ | 3 | 0ms | 408kb | Incorect | 0 |
✓ | 4 | 0ms | 408kb | Incorect | 0 |
✓ | 5 | 0ms | 408kb | Incorect | 0 |
✓ | 6 | 0ms | 412kb | Incorect | 0 |
✓ | 7 | 4ms | 412kb | Incorect | 0 |
✓ | 8 | 4ms | 412kb | Incorect | 0 |
✓ | 9 | 8ms | 416kb | Incorect | 0 |
✓ | 10 | 12ms | 412kb | Incorect | 0 |
✓ | 11 | 16ms | 416kb | Incorect | 0 |
✓ | 12 | 16ms | 408kb | Incorect | 0 |
✓ | 13 | 16ms | 412kb | Incorect | 0 |
✓ | 14 | 16ms | 412kb | Incorect | 0 |
✓ | 15 | Depăşit | 400kb | Time limit exceeded. | 0 |
✓ | 16 | Depăşit | 400kb | Time limit exceeded. | 0 |
✓ | 17 | Depăşit | 400kb | Time limit exceeded. | 0 |
✓ | 18 | Depăşit | 400kb | Time limit exceeded. | 0 |
✓ | 19 | Depăşit | 400kb | Time limit exceeded. | 0 |
✓ | 20 | Depăşit | 404kb | Time limit exceeded. | 0 |
Punctaj total | 0 |