Borderou de evaluare (job #139683)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Albine | Compilator | c |
Rundă | Concurs pentru clasa 7A | Status | evaluat |
Dată | 2 apr. 2015 09:19:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:24:3: error: ‘s’ undeclared (first use in this function)
user.c:24:3: note: each undeclared identifier is reported only once for each function it appears in
user.c:25:7: error: ‘i’ undeclared (first use in this function)
user.c:26:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat]
user.c:32:7: error: ‘lc2’ undeclared (first use in this function)
user.c:33:7: error: ‘lc1’ undeclared (first use in this function)
user.c:41:5: error: expected declaration or statement at end of input
user.c:41:5: error: expected declaration or statement at end of input
user.c:41:5: error: expected declaration or statement at end of input
user.c:20:51: warning: unused variable ‘y’ [-Wunused-variable]
user.c:20:48: warning: unused variable ‘x’ [-Wunused-variable]
user.c:20:38: warning: variable ‘cf2’ set but not used [-Wunused-but-set-variable]
user.c:20:33: warning: variable ‘cf1’ set but not used [-Wunused-but-set-variable]
user.c:20:19: warning: variable ‘c2’ set but not used [-Wunused-but-set-variable]
user.c:20:15: warning: variable ‘l2’ set but not used [-Wunused-but-set-variable]
user.c:20:11: warning: variable ‘c1’ set but not used [-Wunused-but-set-variable]
user.c:20:7: warning: variable ‘l1’ set but not used [-Wunused-but-set-variable]
user.c:18:8: warning: unused variable ‘fout’ [-Wunused-variable]
user.c:21:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:41:5: warning: control reaches end of non-void function [-Wreturn-type]