Pagini recente » Borderou de evaluare (job #1191911) | Borderou de evaluare (job #499923) | Borderou de evaluare (job #2610190) | Cod sursa (job #2020331) | Borderou de evaluare (job #2399813)
Borderou de evaluare (job #2399813)
Raport evaluator
Compilare:
main.cpp: In function 'void conversie(int*, int)':
main.cpp:12:24: warning: 'sizeof' on array function parameter 'a' will return size of 'int*' [-Wsizeof-array-argument]
memset(a,0,sizeof(a));
^
main.cpp:10:29: note: declared here
inline void conversie(int a[],int x)
^
main.cpp:12: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:37:9: warning: unused variable 'i' [-Wunused-variable]
int i,t=0;
^
main.cpp: In function 'void inmultire(int*, int*)':
main.cpp:51:13: warning: unused variable 'i' [-Wunused-variable]
int t=0,i,j;
^
main.cpp: In function 'int main()':
main.cpp:160: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:161: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:163: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 | 3ms | 262kb | OK | 10 |
| 2 | 3ms | 262kb | OK | 10 |
| 3 | 6ms | 262kb | OK | 10 |
| 4 | 7ms | 262kb | OK | 10 |
| 5 | 9ms | 262kb | OK | 10 |
| 6 | 9ms | 262kb | OK | 10 |
| 7 | 101ms | 262kb | Time limit exceeded | 0 |
| 8 | 100ms | 262kb | Time limit exceeded | 0 |
| 9 | 101ms | 262kb | Time limit exceeded | 0 |
| 10 | 100ms | 262kb | Time limit exceeded | 0 |
| Punctaj total | 60 |