Borderou de evaluare (job #2009027)

Utilizator oldatlantianSerban Cercelescu oldatlantian Data 8 august 2017 14:35:27
Problema Resturi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void add(int*, int*, int*)’: user.cpp:37:25: 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, 0x00, sizeof c); ^ user.cpp: In function ‘void add(int*, int*)’: user.cpp:57:24: warning: argument to ‘sizeof’ in ‘void* memcpy(void*, const void*, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memcpy(a, tmp, sizeof a); } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit388kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?