Borderou de evaluare (job #476048)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Feisbuc (clasele 11-12) | Compilator | c |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 18 mai 2019 11:18:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘soratre’:
user.c:12:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:12:9: note: use option -std=c99 or -std=gnu99 to compile your code
user.c: In function ‘main’:
user.c:39:4: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:49:13: error: redefinition of ‘index’
user.c:39:12: note: previous definition of ‘index’ was here
user.c:49:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:55:13: error: redefinition of ‘index’
user.c:49:13: note: previous definition of ‘index’ was here
user.c:55:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
user.c:36:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:40:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
user.c:64:1: warning: control reaches end of non-void function [-Wreturn-type]