Borderou de evaluare (job #3297592)

Utilizator EricDimiCismaru Eric-Dimitrie EricDimi Data 22 mai 2025 23:20:33
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
14ms425kbKilled by Signal 110
28ms421kbKilled by Signal 110
39ms430kbKilled by Signal 110
44ms425kbKilled by Signal 110
58ms425kbKilled by Signal 110
64ms430kbKilled by Signal 110
79ms425kbKilled by Signal 110
84ms430kbKilled by Signal 110
94ms425kbKilled by Signal 110
104ms434kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?