Borderou de evaluare (job #947632)

Utilizator visanrVisan Radu visanr Data 7 mai 2013 21:42:37
Problema Puteri2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
10ms240kbKilled by signal 11(SIGSEGV).00
20ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?