Borderou de evaluare (job #433381)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bile1 (clasa a 7-a) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 feb. 2019 20:49:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:25:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:25:5: note: use option -std=c99 or -std=gnu99 to compile your code
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:37:13: error: redefinition of ‘i’
user.c:31:13: note: previous definition of ‘i’ was here
user.c:37:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:38:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:52:13: error: redefinition of ‘i’
user.c:37:13: note: previous definition of ‘i’ was here
user.c:52:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:16:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:17:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
user.c:21:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:27:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:33:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:56:1: warning: control reaches end of non-void function [-Wreturn-type]