Borderou de evaluare (job #1718185)

Utilizator mihai.constantinConstantin Mihai mihai.constantin Data 16 iunie 2016 22:28:24
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:20:32: warning: passing NULL to non-pointer argument 3 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null] memset(st, sizeof(st), NULL); ^ user.cpp:21:38: warning: passing NULL to non-pointer argument 3 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null] memset(STACK, sizeof(STACK), NULL); ^ In file included from /usr/include/string.h:642:0, from /usr/include/c++/4.8/cstring:42, from user.cpp:3: In function ‘void* memset(void*, int, size_t)’, inlined from ‘void solve()’ at user.cpp:20:33: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ In function ‘void* memset(void*, int, size_t)’, inlined from ‘void solve()’ at user.cpp:21:39: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ /tmp/cclCjb7o.o: In function `solve()': user.cpp:(.text+0x8): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK1040
20ms428kbOK10
30ms428kbOK10
40ms432kbOK10
54ms460kbOK1010
64ms468kbOK1010
78ms512kbOK1010
816ms520kbOK1010
916ms508kbOK1010
1024ms544kbOK1010
Punctaj total100

Ceva nu functioneaza?