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