Pagini recente » Borderou de evaluare (job #2452884) | Borderou de evaluare (job #2843453) | Borderou de evaluare (job #2389572) | Borderou de evaluare (job #1380783) | Borderou de evaluare (job #2393793)
Borderou de evaluare (job #2393793)
Raport evaluator
Compilare:
main.cpp: In function 'void h_adun(int*, int*, int*)':
main.cpp:16:21: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:13:39: note: declared here
void h_adun(int a[],int b[],int c[NMAX])
^
main.cpp:16:19: 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:41:41: 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);
^
main.cpp:42:43: 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);
^
main.cpp:51:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
2 | 2ms | 131kb | Killed by Signal 11 | 0 |
3 | 2ms | 131kb | Killed by Signal 11 | 0 |
4 | 2ms | 131kb | Killed by Signal 11 | 0 |
5 | 2ms | 131kb | Killed by Signal 11 | 0 |
6 | 2ms | 131kb | Killed by Signal 11 | 0 |
7 | 2ms | 131kb | Killed by Signal 11 | 0 |
8 | 2ms | 131kb | Killed by Signal 11 | 0 |
9 | 2ms | 131kb | Killed by Signal 11 | 0 |
10 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |