Pagini recente » Borderou de evaluare (job #319448) | Borderou de evaluare (job #1449698) | Borderou de evaluare (job #176097) | Borderou de evaluare (job #580028) | Borderou de evaluare (job #980491)
Borderou de evaluare (job #980491)
Raport evaluator
Compilare:
user.cpp: In function ‘void get(int*, char*)’:
user.cpp:17:22: 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 get(int*, int*)’:
user.cpp:25:22: 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 get(int*, int)’:
user.cpp:32:22: 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));
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 592kb | Incorect | 0 |
| 2 | 4ms | 592kb | Incorect | 0 |
| 3 | 4ms | 580kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 4ms | 580kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 4ms | 584kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 4ms | 580kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 580kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 4ms | 584kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 588kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 4ms | 596kb | OK | 10 |
| Punctaj total | 10 |