Borderou de evaluare (job #2595952)
Utilizator | Data | 8 aprilie 2020 19:36:57 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c: In function 'main':
main.c:17:8: error: expected identifier or '(' before 'int'
int a,int b;
^~~
main.c:19:17: error: 'b' undeclared (first use in this function)
fscanf(f,"%d",&b);
^
main.c:19:17: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function 'cmmdc':
main.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.c: In function 'main':
main.c:18:2: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a);
^~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !