Borderou de evaluare (job #68975)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Tramvai (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 24 apr. 2014 09:50:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:16:16: error: ‘t’ undeclared (first use in this function)
user.c:16:16: note: each undeclared identifier is reported only once for each function it appears in
user.c:17:13: error: ‘r’ undeclared (first use in this function)
user.c:8:26: warning: unused variable ‘u’ [-Wunused-variable]
user.c:8:20: warning: unused variable ‘p’ [-Wunused-variable]
user.c:8:15: warning: unused variable ‘max’ [-Wunused-variable]
user.c:5:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c:5:11: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
user.c: At top level:
user.c:24:17: error: expected ‘)’ before string constant
user.c:25:7: warning: data definition has no type or storage class [enabled by default]
user.c:25:7: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:25:7: warning: parameter names (without types) in function declaration [enabled by default]
user.c:26:7: warning: data definition has no type or storage class [enabled by default]
user.c:26:7: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:26:7: 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:23:3: warning: control reaches end of non-void function [-Wreturn-type]