Borderou de evaluare (job #1465886)
Utilizator | Data | 28 iulie 2015 10:53:45 | |
---|---|---|---|
Problema | Ccount | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:25:10: error: ‘i’ undeclared (first use in this function)
for (i = 3; i <= n; i++)
^
user.c:25:10: note: each undeclared identifier is reported only once for each function it appears in
user.c:16:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ccount.in", "r", stdin);
^
user.c:17:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ccount.out", "w", stdout);
^
user.c:19:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.c:21:14: 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 !