Pagini recente » Borderou de evaluare (job #461783) | Borderou de evaluare (job #2233799) | Borderou de evaluare (job #1449054) | Borderou de evaluare (job #2271328) | Borderou de evaluare (job #2399618)
Borderou de evaluare (job #2399618)
Raport evaluator
Compilare:
main.cpp: In function 'void conversie(int*, int)':
main.cpp:11:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:9:29: note: declared here
inline void conversie(int a[],int x)
^
main.cpp:11: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(a,0,sizeof(a));
^
main.cpp: In function 'void scadere(int*, int*)':
main.cpp:34:9: warning: unused variable 'i' [-Wunused-variable]
int i,t=0;
^
main.cpp: In function 'void inmultire(int*, int*)':
main.cpp:48:13: warning: unused variable 'i' [-Wunused-variable]
int t=0,i,j;
^
main.cpp: In function 'int main()':
main.cpp:121:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.in","r",stdin);
^
main.cpp:122:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.out","w",stdout);
^
main.cpp:124:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 262kb | Incorect | 0 |
2 | 4ms | 262kb | Incorect | 0 |
3 | 6ms | 262kb | Incorect | 0 |
4 | 7ms | 262kb | Incorect | 0 |
5 | 8ms | 262kb | Incorect | 0 |
6 | 8ms | 262kb | Incorect | 0 |
7 | 83ms | 262kb | Incorect | 0 |
8 | 81ms | 262kb | Incorect | 0 |
9 | 82ms | 393kb | Incorect | 0 |
10 | 83ms | 393kb | Incorect | 0 |
Punctaj total | 0 |