Pagini recente » Borderou de evaluare (job #2862391) | Borderou de evaluare (job #146363) | Borderou de evaluare (job #2184495) | Borderou de evaluare (job #332257) | Borderou de evaluare (job #947633)
Borderou de evaluare (job #947633)
Raport evaluator
Compilare:
user.cpp: In function ‘void Copy(int*, int*)’:
user.cpp:22:24: 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]
memset(A, 0, sizeof(A));
^
user.cpp: In function ‘void InitHuge(int*, int)’:
user.cpp:29:24: 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]
memset(V, 0, sizeof(V));
^
user.cpp: In function ‘void Add(int*, int*, int*)’:
user.cpp:70:24: 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]
memset(C, 0, sizeof(C));
^
/tmp/ccY5kcMT.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 240kb | Time limit exceeded. | 0 | 0 |
2 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |