Borderou de evaluare (job #1307435)
Utilizator | Data | 2 ianuarie 2015 09:29:03 | |
---|---|---|---|
Problema | Sum | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:4:11: error: variably modified ‘phi’ at file scope
long long phi[n_max];
^
user.c: In function ‘main’:
user.c:8:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.in","r",stdin);
^
user.c:9:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum.out","w",stdout);
^
user.c:19:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &t);
^
user.c:22:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %lld ",&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !