Pagini recente » Borderou de evaluare (job #954132) | Borderou de evaluare (job #2286580) | Borderou de evaluare (job #568937) | Borderou de evaluare (job #1090221) | Borderou de evaluare (job #2189324)
Borderou de evaluare (job #2189324)
Raport evaluator
Compilare:
user.cpp: In function ‘void hn_adun(int*, int*, int*)’:
user.cpp:12:24: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
user.cpp:9:43: note: declared here
void hn_adun(int a[],int b[], int c[NMAX+5])
^
user.cpp:12: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(c,0,sizeof(c));
^
user.cpp: In function ‘void hn_constr(int, int*)’:
user.cpp:26:24: warning: ‘sizeof’ on array function parameter ‘x’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(x,0,sizeof(x));
^
user.cpp:24:34: note: declared here
void hn_constr(int n,int x[NMAX+5])
^
user.cpp:26: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(x,0,sizeof(x));
^
user.cpp: In function ‘void hn_prod(int*, int*, int*)’:
user.cpp:43:24: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
user.cpp:40:44: note: declared here
void hn_prod(int a[],int b[],int c[2*NMAX+5])
^
user.cpp:43: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(c,0,sizeof(c));
^
user.cpp: In function ‘void hn_divide(int*, long long int, int*)’:
user.cpp:65:24: warning: ‘sizeof’ on array function parameter ‘c’ will return size of ‘int*’ [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
user.cpp:61:50: note: declared here
void hn_divide(int a[], long long k,int c[NMAX+5 ])
^
user.cpp:65: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(c,0,sizeof(c));
^
user.cpp: In function ‘int main()’:
user.cpp:103:15: warning: unused variable ‘i’ [-Wunused-variable]
long long i=1;
^
user.cpp:100:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:101:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 12000kb | OK | 10 |
2 | 8ms | 12008kb | OK | 10 |
3 | 0ms | 2704kb | OK | 10 |
4 | 4ms | 2700kb | OK | 10 |
5 | 16ms | 12000kb | OK | 10 |
6 | 40ms | 12004kb | OK | 10 |
7 | 92ms | 12004kb | Incorect | 0 |
8 | 120ms | Depăşit | Memory limit exceeded. | 0 |
9 | 160ms | Depăşit | Memory limit exceeded. | 0 |
10 | 164ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |