Borderou de evaluare (job #3250120)

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

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:111:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 111 | else | ^~~~ main.cpp:113:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 113 | for(int i=2;i<=l;i++) | ^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms557kbOkay!5
20ms557kbWrong answer0
30ms557kbOkay!5
40ms557kbOkay!5
50ms557kbOkay!5
60ms557kbWrong answer0
70ms557kbOkay!5
80ms557kbOkay!5
90ms557kbOkay!5
100ms557kbOkay!5
110ms557kbWrong answer0
120ms557kbOkay!5
130ms557kbWrong answer0
140ms557kbWrong answer0
150ms557kbWrong answer0
160ms557kbOkay!5
170ms557kbOkay!5
180ms557kbOkay!5
190ms557kbOkay!5
200ms557kbWrong answer0
Punctaj total65

Ceva nu functioneaza?