Borderou de evaluare (job #1505490)
Utilizator | Data | 19 octombrie 2015 11:29:46 | |
---|---|---|---|
Problema | Sah | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘fscanf’:
user.c:10:5: error: expected declaration specifiers before ‘return’
return 0;
^
user.c:11:1: error: expected declaration specifiers before ‘}’ token
}
^
user.c:9:5: warning: type of ‘fin’ defaults to ‘int’ [enabled by default]
fscanf (fin)
^
user.c:11:1: error: expected ‘{’ at end of input
}
^
user.c:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
user.c: In function ‘main’:
user.c:11:1: error: expected declaration or statement at end of input
user.c:7:11: warning: unused variable ‘fout’ [-Wunused-variable]
FILE *fout=fopen ("sah.out","w");
^
user.c:6:11: warning: unused variable ‘fin’ [-Wunused-variable]
FILE *fin=fopen ("sah.in","r");
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !