Borderou de evaluare (job #476058)

Utilizator avatar cipriz Ciotir Ciprian-Raul cipriz IP ascuns
Problemă Feisbuc (clasele 11-12) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 18 mai 2019 14:42:35 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:10:5: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:10: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:26:9: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:28:13: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:41:13: error: redefinition of ‘i’ user.c:10:13: note: previous definition of ‘i’ was here user.c:41:5: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:45:13: error: redefinition of ‘i’ user.c:41:13: note: previous definition of ‘i’ was here user.c:45:5: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:49:13: error: redefinition of ‘i’ user.c:45:13: note: previous definition of ‘i’ was here user.c:49:5: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:55:13: error: redefinition of ‘i’ user.c:49:13: note: previous definition of ‘i’ was here user.c:55:5: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:12: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]