Borderou de evaluare (job #298100)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Latin1 (baraj gimnaziu) | Compilator | c |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 4 apr. 2017 23:00:55 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:8:5: error: expected specifier-qualifier-list before 'latin'
user.c: In function 'main':
user.c:17:5: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:17:5: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:18:9: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:24:15: error: redefinition of 'i'
user.c:17:15: note: previous definition of 'i' was here
user.c:24:5: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:25:19: error: redefinition of 'j'
user.c:18:19: note: previous definition of 'j' was here
user.c:25:9: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:26:13: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:28:21: warning: implicit declaration of function 'latin' [-Wimplicit-function-declaration]
user.c:28:31: error: incompatible types when assigning to type 'struct latin' from type 'int'
user.c:31:15: error: redefinition of 'i'
user.c:24:15: note: previous definition of 'i' was here
user.c:31:5: error: 'for' loop initial declarations are only allowed in C99 mode
user.c:15:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
user.c:19:19: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]