Borderou de evaluare (job #40950)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Fibonacci (clasa a 7-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 8 ian. 2014 22:41:49 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:4:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
user.c:4:16: error: ‘fout’ undeclared (first use in this function)
user.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
user.c:7:1: error: ‘fin’ undeclared (first use in this function)
user.c:16:22: error: expected expression before ‘}’ token
user.c: At top level:
user.c:21:1: error: expected identifier or ‘(’ before ‘}’ token
user.c:22:1: warning: data definition has no type or storage class [enabled by default]
user.c:22:1: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:22:6: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:22:1: error: initializer element is not constant
user.c:23:14: error: expected ‘)’ before string constant
user.c:24:1: warning: data definition has no type or storage class [enabled by default]
user.c:24:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:24:1: warning: parameter names (without types) in function declaration [enabled by default]
user.c:28:5: error: expected identifier or ‘(’ before ‘return’
user.c:29:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:20:1: warning: control reaches end of non-void function [-Wreturn-type]