Borderou de evaluare (job #83347)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Pinochio (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 2 nov. 2014 13:04:08 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:12:6: error: expected expression before ‘[’ token
user.c:12:6: error: stray ‘\’ in program
user.c:13:8: error: expected expression before ‘[’ token
user.c:13:8: error: stray ‘\’ in program
user.c:16:16: error: expected expression before ‘[’ token
user.c:16:16: error: too few arguments to function ‘fprintf’
user.c:17:4: error: expected ‘}’ before ‘else’
user.c:18:16: error: expected expression before ‘[’ token
user.c:18:16: error: too few arguments to function ‘fprintf’
user.c:5:14: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:20:4: warning: data definition has no type or storage class [enabled by default]
user.c:20:4: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:20:11: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:20:4: error: initializer element is not constant
user.c:21:19: error: expected ‘)’ before string constant
user.c:22:4: warning: data definition has no type or storage class [enabled by default]
user.c:22:4: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:22:4: warning: parameter names (without types) in function declaration [enabled by default]
user.c:23:4: error: expected identifier or ‘(’ before ‘return’
user.c:26:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:9:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:19:4: warning: control reaches end of non-void function [-Wreturn-type]