Pagini recente » Borderou de evaluare (job #2461531) | Borderou de evaluare (job #2682935) | Borderou de evaluare (job #1199640) | Borderou de evaluare (job #283452) | Borderou de evaluare (job #2162264)
Borderou de evaluare (job #2162264)
Raport evaluator
Compilare:
user.cpp: In function ‘void copie(int*, int*)’:
user.cpp:16:30: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset (a, 0, sizeof ( a ));
^
user.cpp:15:20: note: declared here
void copie (int a[ ], int b[ ]) {
^
user.cpp:16:26: 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 adun(int*, int*, int*)’:
user.cpp:23:28: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset (a, 0, sizeof (a));
^
user.cpp:22:19: note: declared here
void adun (int a[ ], int b[ ], int c[ ]) {
^
user.cpp:23:26: 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 inmult(int*, int*, int*)’:
user.cpp:67:29: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset (c, 0, sizeof( c ));
^
user.cpp:66:21: note: declared here
void inmult (int c[ ], int a[ ], int b[ ]) {
^
user.cpp:67:25: 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 ));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2696kb | OK | 10 |
2 | 4ms | 2684kb | Incorect | 0 |
3 | 4ms | 2692kb | Incorect | 0 |
4 | 4ms | 2836kb | Incorect | 0 |
5 | 4ms | 2896kb | OK | 10 |
6 | 4ms | 2900kb | Incorect | 0 |
7 | 4ms | 2892kb | Incorect | 0 |
8 | 4ms | 2876kb | Incorect | 0 |
9 | 4ms | 2896kb | Incorect | 0 |
10 | 4ms | 2676kb | Incorect | 0 |
Punctaj total | 20 |