Borderou de evaluare (job #182907)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cabina (clasa a 5-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 ian. 2016 20:55:00 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:8:7: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘int’ [-Wformat]
user.c:9:9: error: expected ‘;’ before ‘while’
user.c:26:26: error: ‘spec’ undeclared (first use in this function)
user.c:26:26: note: each undeclared identifier is reported only once for each function it appears in
user.c:6:28: warning: unused variable ‘p’ [-Wunused-variable]
user.c:6:18: warning: unused variable ‘haa’ [-Wunused-variable]
user.c:6:15: warning: unused variable ‘ha’ [-Wunused-variable]
user.c:6:13: warning: unused variable ‘h’ [-Wunused-variable]
user.c:6:9: warning: unused variable ‘i’ [-Wunused-variable]
user.c:8:14: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]