Borderou de evaluare (job #947633)

Utilizator visanrVisan Radu visanr Data 7 mai 2013 21:43:39
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)); ^ /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
1Depăşit240kbTime limit exceeded.00
20ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?