Pagini recente » Borderou de evaluare (job #2347765) | Borderou de evaluare (job #1121240) | Borderou de evaluare (job #322281) | Borderou de evaluare (job #645517) | Borderou de evaluare (job #2392276)
Borderou de evaluare (job #2392276)
Raport evaluator
Compilare:
main.cpp: In function 'void h_adun(int*, int*, int*)':
main.cpp:9:21: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:6:39: note: declared here
void h_adun(int a[],int b[],int c[NMAX])
^
main.cpp:9: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:34: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:35: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:44: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 |