Borderou de evaluare (job #278469)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maxim (clasa 7-8) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 feb. 2017 23:12:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:42:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:42:2: note: use option -std=c99 or -std=gnu99 to compile your code
user.c:46:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:60:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:72:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:105:10: error: redefinition of ‘i’
user.c:42:10: note: previous definition of ‘i’ was here
user.c:105:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:32:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:33:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:40:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]