Pagini recente » Borderou de evaluare (job #1334668) | Borderou de evaluare (job #1122459) | Cod sursa (job #1908240) | Borderou de evaluare (job #2563726) | Borderou de evaluare (job #1218419)
Borderou de evaluare (job #1218419)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: unused variable ‘x’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:10:24: warning: unused variable ‘sum’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:10:30: warning: unused variable ‘j’ [-Wunused-variable]
int i,front,back,x,sum=0,j,pi,pf=0,aux,q;
^
user.cpp:10: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:11: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:12: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:13: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:15: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 | 452kb | OK | 10 |
| 2 | 4ms | 504kb | OK | 10 |
| 3 | 24ms | 704kb | OK | 10 |
| 4 | 20ms | 752kb | OK | 10 |
| 5 | 24ms | 840kb | OK | 10 |
| 6 | 36ms | 924kb | OK | 10 |
| 7 | 56ms | 1236kb | OK | 10 |
| 8 | 84ms | 1624kb | OK | 10 |
| 9 | Depăşit | 2012kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2228kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |