Borderou de evaluare (job #2392276)

Utilizator cyg_alexandru546Zob Alexandru Mihai cyg_alexandru546 Data 29 martie 2019 20:47:56
Problema Next Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void h_adun(int*, int*, int*)': main.cpp:9:21: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument] memset(c,0,sizeof(c)); ^ main.cpp:6:39: note: declared here void h_adun(int a[],int b[],int c[NMAX]) ^ main.cpp:9:19: 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(c,0,sizeof(c)); ^ main.cpp: In function 'int main()': main.cpp:34:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ main.cpp:35:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ main.cpp:44:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbKilled by Signal 110
22ms131kbKilled by Signal 110
32ms131kbKilled by Signal 110
42ms131kbKilled by Signal 110
52ms131kbKilled by Signal 110
62ms131kbKilled by Signal 110
72ms131kbKilled by Signal 110
82ms131kbKilled by Signal 110
92ms131kbKilled by Signal 110
102ms131kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?