Borderou de evaluare (job #2244173)

Utilizator lucametehauDart Monkey lucametehau Data 22 septembrie 2018 12:57:08
Problema Pod Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void mult(int (*)[21], int (*)[21])’: user.cpp:27:24: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int (*)[21]’ [-Wsizeof-array-argument] memcpy(a, c, sizeof(a)); ^ user.cpp:18:21: note: declared here void mult(int a[][21], int b[][21]) { ^ user.cpp:27:22: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memcpy(a, c, sizeof(a)); ^ user.cpp: In function ‘void lgput(int (*)[21], int)’: user.cpp:40:53: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int (*)[21]’ [-Wsizeof-array-argument] memset(sol, 0, sizeof(sol)); memset(a, 0, sizeof(a)); ^ user.cpp:38:22: note: declared here void lgput(int a[][21], int p) { ^ user.cpp:40:51: 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(sol, 0, sizeof(sol)); memset(a, 0, sizeof(a)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1468ms1388kbIncorect0
2420ms1392kbIncorect0
3492ms1388kbIncorect0
40ms1388kbIncorect0
50ms1384kbIncorect0
60ms1392kbIncorect0
7Depăşit1392kbTime limit exceeded.0
888ms1388kbIncorect0
9364ms1388kbIncorect0
10Depăşit1388kbTime limit exceeded.0
11528ms1392kbIncorect0
12268ms1388kbIncorect0
13200ms1388kbIncorect0
14Depăşit1388kbTime limit exceeded.0
15160ms1392kbIncorect0
16312ms1392kbIncorect0
17448ms1392kbIncorect0
18Depăşit1388kbTime limit exceeded.0
19472ms1388kbIncorect0
20Depăşit1392kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?