Borderou de evaluare (job #1735308)
Raport evaluator
Compilare:
user.c:3:1: warning: return type defaults to ‘int’ [enabled by default]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.c: In function ‘main’:
user.c:3:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.c:3:48: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("stramosi.in","r",stdin);freopen("stramosi.out","w",stdout);
^
user.c:4:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.c:5:21: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0;i++<n;)scanf("%d",a+i);
^
user.c:6:17: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for(;m--;){scanf("%d %d",&j,&i);for(;j&&i--;)j=a[j];printf("%d\n",j);}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK! | 10 |
| 2 | 0ms | 264kb | OK! | 10 |
| 3 | 4ms | 272kb | OK! | 10 |
| 4 | 52ms | 308kb | OK! | 10 |
| 5 | 84ms | 300kb | OK! | 10 |
| 6 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 7 | 96ms | 520kb | OK! | 10 |
| 8 | 164ms | 652kb | OK! | 10 |
| 9 | Depăşit | 1052kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1244kb | Time limit exceeded. | 0 |
| Punctaj total | 70 |