Borderou de evaluare (job #184189)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Punga (clasa a 7-a) | Compilator | c |
Rundă | Olimpiada pe școală clasa a 7-a | Status | evaluat |
Dată | 21 ian. 2016 15:45:42 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:19:10: error: subscripted value is neither array nor pointer nor vector
user.c:22:17: error: subscripted value is neither array nor pointer nor vector
user.c:22:23: error: subscripted value is neither array nor pointer nor vector
user.c:24:10: error: subscripted value is neither array nor pointer nor vector
user.c:8:25: warning: variable ‘s2’ set but not used [-Wunused-but-set-variable]
user.c:8:23: warning: unused variable ‘d’ [-Wunused-variable]
user.c:8:17: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
user.c:7:9: warning: unused variable ‘a’ [-Wunused-variable]
user.c:6:17: warning: variable ‘fout’ set but not used [-Wunused-but-set-variable]
user.c:13:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:14:10: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
user.c:15:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]