Pagini recente » Borderou de evaluare (job #599023) | Borderou de evaluare (job #564448) | Borderou de evaluare (job #564416) | Borderou de evaluare (job #337955) | Borderou de evaluare (job #2385304)
Borderou de evaluare (job #2385304)
Raport evaluator
Compilare:
main.cpp: In function 'void adun_h_h(int*, int*, int*)':
main.cpp:14:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:12:41: note: declared here
void adun_h_h(int a[],int b[],int c[NMAX]) {
^
main.cpp:14: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));
^
main.cpp: In function 'int main()':
main.cpp:37:9: warning: unused variable 'm' [-Wunused-variable]
int m,k,a[NMAX+5],c[NMAX+5],b[25];
^
main.cpp:37:11: warning: unused variable 'k' [-Wunused-variable]
int m,k,a[NMAX+5],c[NMAX+5],b[25];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8126kb | OK | 10 |
2 | 16ms | 8126kb | Incorect | 0 |
3 | 16ms | 8126kb | OK | 10 |
4 | 18ms | 8126kb | OK | 10 |
5 | 23ms | 8126kb | Incorect | 0 |
6 | 37ms | 8257kb | Incorect | 0 |
7 | 71ms | 8388kb | Incorect | 0 |
8 | 126ms | 8781kb | Incorect | 0 |
9 | 186ms | 9043kb | Incorect | 0 |
10 | 181ms | 9175kb | Incorect | 0 |
Punctaj total | 30 |