Borderou de evaluare (job #3297594)

Utilizator EricDimiCismaru Eric-Dimitrie EricDimi Data 22 mai 2025 23:22:02
Problema Permutari 3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void AtribMic(int*, int)': main.cpp:19:25: warning: 'sizeof' on array function parameter 'x' will return size of 'int*' [-Wsizeof-array-argument] 19 | memset(x, 0, sizeof(x)); | ~^~ main.cpp:18:22: note: declared here 18 | void AtribMic(NrMare x, int n) { | ~~~~~~~^ main.cpp:19:18: 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] 19 | memset(x, 0, sizeof(x)); | ^~~~~~~~~ main.cpp: In function 'int Update(int, int)': main.cpp:107:1: warning: no return statement in function returning non-void [-Wreturn-type] 107 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms430kbKilled by Signal 110
29ms430kbKilled by Signal 110
39ms434kbKilled by Signal 110
46ms430kbKilled by Signal 110
59ms438kbKilled by Signal 110
64ms434kbKilled by Signal 110
74ms434kbKilled by Signal 110
85ms430kbKilled by Signal 110
94ms430kbKilled by Signal 110
108ms430kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?