Borderou de evaluare (job #2699991)

Utilizator stefantagaTaga Stefan stefantaga Data 26 ianuarie 2021 12:37:05
Problema Petrecere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void copiez(int*, int*)': main.cpp:10:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument] memset(a,0,sizeof(a)); ^ main.cpp:7:23: note: declared here void copiez(int a[3005],int b[3005]) ^ main.cpp:10:22: 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 adun(int*, int*, int*)': main.cpp:51:28: warning: 'sizeof' on array function parameter 'rez' will return size of 'int*' [-Wsizeof-array-argument] memset(rez,0,sizeof(rez)); ^ main.cpp:47:23: note: declared here void adun(int rez[3005],int a[3005],int b[3005]) ^ main.cpp:51: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(rez,0,sizeof(rez)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOK5
23ms131kbOK5
33ms131kbOK5
43ms131kbOK5
53ms131kbOK5
63ms131kbOK5
73ms131kbOK5
83ms131kbOK5
93ms131kbOK5
105ms131kbOK5
117ms131kbOK5
128ms131kbOK5
1313ms131kbOK5
1420ms131kbOK5
1531ms131kbOK5
1646ms233kbOK5
1755ms131kbTime limit exceeded0
1853ms131kbTime limit exceeded0
1953ms131kbTime limit exceeded0
2053ms131kbTime limit exceeded0
Punctaj total80

Ceva nu functioneaza?