Borderou de evaluare (job #168200)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Alfanumeric (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 25 nov. 2015 09:50:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:16: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:9:25: error: ‘n’ undeclared (first use in this function)
user.c:9:25: note: each undeclared identifier is reported only once for each function it appears in
user.c:9:22: warning: left-hand operand of comma expression has no effect [-Wunused-value]
user.c:10:5: error: ‘c’ undeclared (first use in this function)
user.c:13:31: error: ‘s’ undeclared (first use in this function)
user.c: At top level:
user.c:15:18: error: expected ‘)’ before string constant
user.c:16:5: warning: data definition has no type or storage class [enabled by default]
user.c:16:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:16:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:17:5: warning: data definition has no type or storage class [enabled by default]
user.c:17:5: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:17:5: warning: parameter names (without types) in function declaration [enabled by default]
user.c:18:5: error: expected identifier or ‘(’ before ‘return’
user.c:19:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:14:5: warning: control reaches end of non-void function [-Wreturn-type]