Pagini recente » Borderou de evaluare (job #638268) | Borderou de evaluare (job #431933) | Borderou de evaluare (job #570103) | Borderou de evaluare (job #77097) | Borderou de evaluare (job #947632)
Borderou de evaluare (job #947632)
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));
^
user.cpp: In function ‘void BS(int*, int*)’:
user.cpp:117:42: warning: unused variable ‘X’ [-Wunused-variable]
int Mid[100], Ans[100], AnsPow[100], X, AddNow[100], SubNow[100];
^
user.cpp:117:45: warning: unused variable ‘AddNow’ [-Wunused-variable]
int Mid[100], Ans[100], AnsPow[100], X, AddNow[100], SubNow[100];
^
user.cpp:117:58: warning: unused variable ‘SubNow’ [-Wunused-variable]
int Mid[100], Ans[100], AnsPow[100], X, AddNow[100], SubNow[100];
^
user.cpp: In function ‘int main()’:
user.cpp:151:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
/tmp/ccEfPy2u.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 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |