Borderou de evaluare (job #363289)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Robot2 (clasa a 5-a) | Compilator | c |
Rundă | Concurs clasa a 5-a (de acasa) | Status | evaluat |
Dată | 11 mar. 2018 19:54:54 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:23: error: ‘z’ undeclared (first use in this function)
user.c:8:23: note: each undeclared identifier is reported only once for each function it appears in
user.c:9:41: error: ‘h’ undeclared (first use in this function)
user.c:10:28: error: ‘c’ undeclared (first use in this function)
user.c:10:32: error: ‘b’ undeclared (first use in this function)
user.c:10:36: error: ‘a’ undeclared (first use in this function)
user.c:12:4: error: ‘d’ undeclared (first use in this function)
user.c:14:27: error: ‘x’ undeclared (first use in this function)
user.c:17:9: error: ‘impare’ undeclared (first use in this function)
user.c:19:10: error: ‘pare’ undeclared (first use in this function)
user.c:23:5: error: ‘reparari’ undeclared (first use in this function)
user.c:5:35: warning: unused variable ‘r’ [-Wunused-variable]
user.c:5:31: warning: unused variable ‘ob’ [-Wunused-variable]
user.c:5:18: warning: unused variable ‘cmmdc’ [-Wunused-variable]
user.c:5:13: warning: unused variable ‘max’ [-Wunused-variable]
user.c:4:15: warning: unused variable ‘fout’ [-Wunused-variable]
user.c: At top level:
user.c:27:3: warning: data definition has no type or storage class [enabled by default]
user.c:27:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:27:3: warning: parameter names (without types) in function declaration [enabled by default]
user.c:28:3: warning: data definition has no type or storage class [enabled by default]
user.c:28:3: warning: type defaults to ‘int’ in declaration of ‘fout’ [-Wimplicit-int]
user.c:28:10: warning: initialization makes integer from pointer without a cast [enabled by default]
user.c:28:3: error: initializer element is not constant
user.c:29:3: warning: data definition has no type or storage class [enabled by default]
user.c:29:3: warning: type defaults to ‘int’ in declaration of ‘fclose’ [-Wimplicit-int]
user.c:29:3: warning: parameter names (without types) in function declaration [enabled by default]
user.c:31:3: error: expected identifier or ‘(’ before ‘return’
user.c:32:1: error: expected identifier or ‘(’ before ‘}’ token
user.c: In function ‘main’:
user.c:26:3: warning: control reaches end of non-void function [-Wreturn-type]