Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1735232)
| Utilizator | Data | 29 iulie 2016 12:28:22 | |
|---|---|---|---|
| Problema | Datorii | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
user.c:5:1: warning: return type defaults to ‘int’ [enabled by default]
main(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);
^
user.c: In function ‘main’:
user.c:6:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘short int *’ [-Wformat=]
scanf("%d %d",&n,&m);
^
user.c:8:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘short int *’ [-Wformat=]
for(i=1;i<=n;i++)scanf("%d",a+i),b[i/r]+=a[i];
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘short int *’ [-Wformat=]
scanf("%d %d %d",&c,&t,&v);
^
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat=]
user.c:10:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘short int *’ [-Wformat=]
user.c:5:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);
^
user.c:5:47: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("datorii.in","r",stdin);freopen("datorii.out","w",stdout);
^
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 | 92ms | 316kb | Corect! | 20 |
| 2 | 96ms | 312kb | Corect! | 20 |
| 3 | 92ms | 312kb | Corect! | 20 |
| 4 | 92ms | 316kb | Corect! | 20 |
| 5 | 92ms | 308kb | Corect! | 20 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
