Borderou de evaluare (job #1244004)
Utilizator | Data | 16 octombrie 2014 17:50:08 | |
---|---|---|---|
Problema | Fractii | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:15:1: error: unknown type name ‘bool’
bool keres(struct tort e, struct tort g[], int h) {
^
user.c: In function ‘keres’:
user.c:16:11: error: unknown type name ‘bool’
int i; bool ok=false;
^
user.c:16:19: error: ‘false’ undeclared (first use in this function)
int i; bool ok=false;
^
user.c:16:19: note: each undeclared identifier is reported only once for each function it appears in
user.c:19:14: error: ‘true’ undeclared (first use in this function)
ok=true;
^
user.c: In function ‘main’:
user.c:37:29: error: ‘false’ undeclared (first use in this function)
if ((keres(z,t,r)==false) || (r==0)) {
^
user.c:26:15: warning: unused variable ‘k’ [-Wunused-variable]
int n,i,j,k,r=0,u;
^
user.c:29:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !