Borderou de evaluare (job #467622)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Acoperire | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 7 apr. 2019 20:08:19 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:57:13: error: redeclaration of ‘i’ with no linkage
user.c:32:20: note: previous declaration of ‘i’ was here
user.c:57:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:57:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:67:13: error: redefinition of ‘i’
user.c:57:13: note: previous definition of ‘i’ was here
user.c:67:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:35:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:37:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:40:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]