Borderou de evaluare (job #466957)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Acoperire | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 apr. 2019 22:41:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:21:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:21:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:27:13: error: redefinition of ‘i’
user.c:21:13: note: previous definition of ‘i’ was here
user.c:27:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:19:9: warning: variable ‘nr_intervale’ set but not used [-Wunused-but-set-variable]
user.c:26:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:28:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]