Borderou de evaluare (job #3124982)

Utilizator BlaugranasEnal Gemaledin Blaugranas Data 1 mai 2023 09:47:58
Problema ClassicTask Status done
Runda Arhiva Monthly Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void B(int*, long long int)': main.cpp:22:27: warning: 'sizeof' on array function parameter 'x' will return size of 'int*' [-Wsizeof-array-argument] 22 | for(memset(x,0,sizeof x);a;x[++x[0]]=a%10,a/=10); | ^ main.cpp:20:12: note: declared here 20 | void B(int x[],L a) | ~~~~^~~ main.cpp:22:20: 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] 22 | for(memset(x,0,sizeof x);a;x[++x[0]]=a%10,a/=10); | ^~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK100
20ms303kbOK10
30ms303kbOK10
40ms303kbIncorect0
50ms303kbIncorect0
60ms303kbIncorect0
70ms303kbIncorect0
80ms303kbIncorect0
90ms303kbIncorect0
100ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?