Pagini recente » Borderou de evaluare (job #927362) | Borderou de evaluare (job #113025) | Borderou de evaluare (job #1038415) | Borderou de evaluare (job #222272) | Borderou de evaluare (job #3209191)
Borderou de evaluare (job #3209191)
Raport evaluator
Compilare:
main.cpp: In function 'void atrib(long long unsigned int*, long long unsigned int*)':
main.cpp:49:25: warning: 'sizeof' on array function parameter 'b' will return size of 'long long unsigned int*' [-Wsizeof-array-argument]
49 | memset(b, 0, sizeof(b));
| ~^~
main.cpp:45:25: note: declared here
45 | void atrib(int a[], int b[]) {
| ^
main.cpp:49:18: 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]
49 | memset(b, 0, sizeof(b));
| ^~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 557kb | Incorect | 0 |
3 | 0ms | 557kb | Incorect | 0 |
4 | 0ms | 557kb | Incorect | 0 |
5 | 0ms | 557kb | Incorect | 0 |
6 | 0ms | 557kb | Incorect | 0 |
7 | 1ms | 557kb | Incorect | 0 |
8 | 1ms | 557kb | Incorect | 0 |
9 | 2ms | 557kb | Incorect | 0 |
10 | 3ms | 557kb | Incorect | 0 |
Punctaj total | 10 |