Pagini recente » Borderou de evaluare (job #2627346) | Borderou de evaluare (job #1635327) | Borderou de evaluare (job #3206474) | Borderou de evaluare (job #2838881) | Borderou de evaluare (job #947635)
Borderou de evaluare (job #947635)
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/ccD7UBtk.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 | 240kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |