Pagini recente » Borderou de evaluare (job #2291588) | Borderou de evaluare (job #2358524) | Borderou de evaluare (job #2802311) | Borderou de evaluare (job #2353031) | Borderou de evaluare (job #2393797)
Borderou de evaluare (job #2393797)
Raport evaluator
Compilare:
main.cpp: In function 'void h_scad(int*, int*, int*)':
main.cpp:24:24: warning: 'sizeof' on array function parameter 'c' will return size of 'int*' [-Wsizeof-array-argument]
memset(c,0,sizeof(c));
^
main.cpp:21:39: note: declared here
void h_scad(int a[],int b[],int c[NMAX])
^
main.cpp:24: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 'void h_adun(int*, long long int)':
main.cpp:46:11: warning: unused variable 'tr' [-Wunused-variable]
int i,tr;
^~
main.cpp: In function 'int main()':
main.cpp:68:9: warning: unused variable 'n' [-Wunused-variable]
int n,i,cnt=0;
^
main.cpp:68:11: warning: unused variable 'i' [-Wunused-variable]
int n,i,cnt=0;
^
main.cpp:68:13: warning: unused variable 'cnt' [-Wunused-variable]
int n,i,cnt=0;
^~~
main.cpp:65: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:66: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:76:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 6ms | 131kb | Incorect | 0 |
5 | 17ms | 262kb | OK | 10 |
6 | 45ms | 655kb | OK | 10 |
7 | 109ms | 1441kb | Incorect | 0 |
8 | 270ms | 3407kb | Incorect | 0 |
9 | 386ms | 4587kb | Incorect | 0 |
10 | 365ms | 5111kb | Incorect | 0 |
Punctaj total | 30 |