Borderou de evaluare (job #1681239)
Utilizator | Data | 9 aprilie 2016 12:34:20 | |
---|---|---|---|
Problema | Patrate5 | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘test’:
user.c:13:9: error: expected expression before ‘int’
j = int(sqrt(x - i * i));
^
user.c: In function ‘main’:
user.c:37:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate.in","r",stdin);
^
user.c:38:10: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate.out","w",stdout);
^
user.c:39:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.c:40:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !