Pagini recente » Borderou de evaluare (job #2647472) | Borderou de evaluare (job #2548929) | Borderou de evaluare (job #1216489) | Borderou de evaluare (job #2406636) | Borderou de evaluare (job #2393904)
Borderou de evaluare (job #2393904)
Raport evaluator
Compilare:
main.cpp: In function 'void h_adun(int*, int*, int*)':
main.cpp:21:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:19:39: note: declared here
void h_adun(int a[],int b[],int c[NMAX])
^
main.cpp:21: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:50:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&d);
^
main.cpp:37: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);
^
main.cpp:38: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);
^
main.cpp:50:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&d);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 4063kb | OK | 10 |
2 | 9ms | 4063kb | Incorect | 0 |
3 | 9ms | 4063kb | Incorect | 0 |
4 | 11ms | 4063kb | Incorect | 0 |
5 | 23ms | 4325kb | Incorect | 0 |
6 | 51ms | 4718kb | Incorect | 0 |
7 | 118ms | 5373kb | Incorect | 0 |
8 | 242ms | 7471kb | Incorect | 0 |
9 | 358ms | 8650kb | Incorect | 0 |
10 | 356ms | 9175kb | Incorect | 0 |
Punctaj total | 10 |