Pagini recente » Borderou de evaluare (job #2124666) | Borderou de evaluare (job #32768) | Borderou de evaluare (job #568406) | Borderou de evaluare (job #3187160) | Borderou de evaluare (job #1218616)
Borderou de evaluare (job #1218616)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: unused variable ‘y’ [-Wunused-variable]
int i,front,back,y,front1,back1,x;
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.in","r",stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vila2.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: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 | 436kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 476kb | OK | 10 |
4 | 4ms | 540kb | OK | 10 |
5 | 8ms | 668kb | OK | 10 |
6 | 12ms | 632kb | OK | 10 |
7 | 20ms | 712kb | OK | 10 |
8 | 16ms | 908kb | OK | 10 |
9 | 32ms | 824kb | OK | 10 |
10 | 28ms | 824kb | OK | 10 |
Punctaj total | 100 |