Pagini recente » Borderou de evaluare (job #62446) | Borderou de evaluare (job #242099) | Borderou de evaluare (job #2988692) | Borderou de evaluare (job #238321) | Borderou de evaluare (job #1735228)
Borderou de evaluare (job #1735228)
Raport evaluator
Compilare:
user.c:4:1: warning: return type defaults to ‘int’ [enabled by default]
reopen(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);}
^
user.c:5:1: warning: return type defaults to ‘int’ [enabled by default]
main(){reopen();
^
user.c: In function ‘reopen’:
user.c:4:17: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
reopen(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);}
^
user.c:4:49: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
reopen(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);}
^
user.c:4:1: warning: control reaches end of non-void function [-Wreturn-type]
reopen(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);}
^
user.c: In function ‘main’:
user.c:6:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.c:8:23: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d",a+i),b[i/r]+=a[i];
^
user.c:10:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&c,&t,&v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 88ms | 344kb | Corect! | 20 |
2 | 92ms | 344kb | Corect! | 20 |
3 | 92ms | 344kb | Corect! | 20 |
4 | 92ms | 344kb | Corect! | 20 |
5 | 88ms | 344kb | Corect! | 20 |
Punctaj total | 100 |