Pagini recente » Borderou de evaluare (job #2916430) | Borderou de evaluare (job #3221606) | Borderou de evaluare (job #2720626) | Borderou de evaluare (job #3282335) | Borderou de evaluare (job #2394984)
Borderou de evaluare (job #2394984)
Raport evaluator
Compilare:
main.cpp: In function 'void h_adun(int*, int*, int*)':
main.cpp:22:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:20:39: note: declared here
void h_adun(int a[],int b[],int c[NMAX])
^
main.cpp:22: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:51:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d",&d);
^
main.cpp:38: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:39: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:51: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 | 7ms | 4063kb | OK | 10 |
2 | 9ms | 4063kb | Incorect | 0 |
3 | 9ms | 4063kb | Incorect | 0 |
4 | 11ms | 4063kb | Incorect | 0 |
5 | 24ms | 4325kb | Incorect | 0 |
6 | 52ms | 4587kb | Incorect | 0 |
7 | 125ms | 5373kb | Incorect | 0 |
8 | 286ms | 7471kb | Incorect | 0 |
9 | 400ms | 8650kb | Incorect | 0 |
10 | 412ms | 9175kb | Incorect | 0 |
Punctaj total | 10 |