Pagini recente » Borderou de evaluare (job #2537866) | Borderou de evaluare (job #2361847) | Borderou de evaluare (job #312583) | Borderou de evaluare (job #517009) | Borderou de evaluare (job #1218420)
Borderou de evaluare (job #1218420)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:22: warning: unused variable ‘x’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:9:24: warning: unused variable ‘sum’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:9:30: warning: unused variable ‘j’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:9:40: warning: variable ‘aux’ set but not used [-Wunused-but-set-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:14:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 4ms | 316kb | OK | 10 |
3 | 16ms | 516kb | OK | 10 |
4 | 24ms | 548kb | OK | 10 |
5 | 28ms | 648kb | OK | 10 |
6 | 36ms | 728kb | OK | 10 |
7 | 56ms | 1040kb | OK | 10 |
8 | 88ms | 1428kb | OK | 10 |
9 | Depăşit | 1820kb | Time limit exceeded. | 0 |
10 | Depăşit | 1968kb | Time limit exceeded. | 0 |
Punctaj total | 80 |