Borderou de evaluare (job #1995719)
| Utilizator | Data | 28 iunie 2017 23:24:19 | |
|---|---|---|---|
| Problema | CMMDC | Status | done |
| Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.c: In function ‘rez’:
user.c:22:7: error: ‘divizor’ undeclared (first use in this function)
divizor *= i;
^
user.c:22:7: note: each undeclared identifier is reported only once for each function it appears in
user.c:10:7: warning: unused variable ‘dizizor’ [-Wunused-variable]
dizizor = 1;
^
user.c: In function ‘main’:
user.c:34:9: warning: unused variable ‘out’ [-Wunused-variable]
*out = fopen("cmmdc.out", "wt");
^
user.c: In function ‘rez’:
user.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:38:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
