Borderou de evaluare (job #119387)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bomboane 1 (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 feb. 2015 11:15:23 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:17:13: error: expected ‘}’ before ‘else’
user.c:20:9: error: ‘else’ without a previous ‘if’
user.c:21:13: error: ‘S’ undeclared (first use in this function)
user.c:21:13: note: each undeclared identifier is reported only once for each function it appears in
user.c:23:9: error: ‘else’ without a previous ‘if’
user.c:7:30: warning: unused variable ‘g’ [-Wunused-variable]
user.c:7:25: warning: unused variable ‘bd’ [-Wunused-variable]
user.c:7:20: warning: unused variable ‘suma’ [-Wunused-variable]
user.c:6:10: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:29:1: error: expected identifier or ‘(’ before ‘}’ token
user.c:30:14: error: expected ‘)’ before string constant
user.c:31:1: error: expected identifier or ‘(’ before ‘while’
user.c:35:1: warning: data definition has no type or storage class [enabled by default]
user.c:35:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:35:1: warning: parameter names (without types) in function declaration [enabled by default]
user.c:36:1: warning: data definition has no type or storage class [enabled by default]
user.c:36:1: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:36:1: warning: parameter names (without types) in function declaration [enabled by default]
user.c:37:1: error: expected identifier or ‘(’ before ‘return’
user.c:38:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:28:5: warning: control reaches end of non-void function [-Wreturn-type]