Borderou de evaluare (job #1391373)
Utilizator | Data | 17 martie 2015 21:27:42 | |
---|---|---|---|
Problema | Combinari | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:6:1: error: unknown type name ‘bool’
bool validare(int poz)
^
user.c: In function ‘validare’:
user.c:10:11: error: ‘false’ undeclared (first use in this function)
return false;
^
user.c:10:11: note: each undeclared identifier is reported only once for each function it appears in
user.c:11:9: error: ‘true’ undeclared (first use in this function)
return true;
^
user.c: At top level:
user.c:31:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main()
^
user.c: In function ‘validare’:
user.c:12:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:37:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fIn, "%d", &n);
^
user.c:38:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fIn, "%d", &k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !