Borderou de evaluare (job #2823716)
Utilizator | Data | 29 decembrie 2021 14:54:06 | |
---|---|---|---|
Problema | Brazi | Status | done |
Runda | Arhiva ICPC | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:8:13: error: initializer element is not constant
8 | FILE* fin = fopen("brazi.in", "r");
| ^~~~~
main.c:9:15: error: initializer element is not constant
9 | FILE * fout = fopen("brazi.out", "w+");
| ^~~~~
main.c:34:1: error: unknown type name 'bool'
34 | bool seAseamana(int p, int q){
| ^~~~
main.c: In function 'seAseamana':
main.c:43:20: error: 'false' undeclared (first use in this function); did you mean 'fclose'?
43 | return false;
| ^~~~~
| fclose
main.c:43:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:49:12: error: 'true' undeclared (first use in this function)
49 | return true;
| ^~~~
main.c: In function 'main':
main.c:71:9: error: unknown type name 'bool'
71 | bool ok = false;
| ^~~~
main.c:71:19: error: 'false' undeclared (first use in this function); did you mean 'fclose'?
71 | bool ok = false;
| ^~~~~
| fclose
main.c:79:22: error: 'true' undeclared (first use in this function)
79 | ok = true;
| ^~~~
main.c: In function 'seAseamana':
main.c:50:1: warning: control reaches end of non-void function [-Wreturn-type]
50 | }
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !