Borderou de evaluare (job #317671)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Codat (clasa a 7-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 oct. 2017 15:54:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:10:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:10:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:14:13: error: redefinition of ‘i’
user.c:10:14: note: previous definition of ‘i’ was here
user.c:14:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:21:13: error: redefinition of ‘i’
user.c:14:13: note: previous definition of ‘i’ was here
user.c:21:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:25:13: error: redefinition of ‘i’
user.c:21:13: note: previous definition of ‘i’ was here
user.c:25:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:31:13: error: redefinition of ‘i’
user.c:25:13: note: previous definition of ‘i’ was here
user.c:31:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:11:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]