Borderou de evaluare (job #27642)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pinochio (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 3 nov. 2013 21:40:03 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:25: error: invalid operands to binary & (have ‘int *’ and ‘int’)
user.c:18:9: error: expected ‘}’ before ‘else’
user.c:23:17: error: expected ‘}’ before ‘else’
user.c:6:13: warning: variable ‘total’ set but not used [-Wunused-but-set-variable]
user.c:5:17: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:30:5: error: expected identifier or ‘(’ before ‘}’ token
user.c:32:5: warning: data definition has no type or storage class [enabled by default]
user.c:32:5: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:32:10: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:32:5: error: initializer element is not constant
user.c:33:18: error: expected ‘)’ before string constant
user.c:34:5: error: expected identifier or ‘(’ before ‘return’
user.c:35:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:29:9: warning: control reaches end of non-void function [-Wreturn-type]