Borderou de evaluare (job #3250125)

Utilizator dorupopDoru Pop dorupop Data 19 octombrie 2024 11:43:39
Problema Zero Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void atrib(int*, int*)': main.cpp:27:20: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument] 27 | memset(a,0,sizeof(a)); | ~^~ main.cpp:25:16: note: declared here 25 | void atrib(int a[], int b[]) | ~~~~^~~ main.cpp:27:13: 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] 27 | memset(a,0,sizeof(a)); | ^~~~~~~~~ main.cpp: In function 'int main()': main.cpp:113:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 113 | else | ^~~~ main.cpp:115:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 115 | for(int i=2;i<=l;i++) | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms557kbWrong answer0
20ms557kbWrong answer0
30ms557kbWrong answer0
40ms557kbWrong answer0
50ms557kbWrong answer0
60ms557kbWrong answer0
70ms557kbWrong answer0
80ms557kbWrong answer0
90ms557kbWrong answer0
100ms557kbWrong answer0
110ms557kbWrong answer0
120ms557kbWrong answer0
130ms557kbWrong answer0
140ms557kbWrong answer0
150ms557kbWrong answer0
160ms561kbWrong answer0
170ms557kbWrong answer0
180ms557kbWrong answer0
190ms557kbWrong answer0
200ms557kbWrong answer0
Punctaj total0

Ceva nu functioneaza?