Borderou de evaluare (job #503470)

Utilizator avatar stefan1504 Ghenescu Stefan stefan1504 IP ascuns
Problemă Prim (clasa a 5-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 17 nov. 2019 12:42:48 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function 'main': user.c:21:5: error: 'for' loop initial declarations are only allowed in C99 mode user.c:21:5: note: use option -std=c99 or -std=gnu99 to compile your code user.c:25:13: error: 'for' loop initial declarations are only allowed in C99 mode user.c:32:14: error: redefinition of 'i' user.c:21:14: note: previous definition of 'i' was here user.c:32:5: error: 'for' loop initial declarations are only allowed in C99 mode user.c:55:14: error: redefinition of 'i' user.c:32:14: note: previous definition of 'i' was here user.c:55:5: error: 'for' loop initial declarations are only allowed in C99 mode user.c:16:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] user.c:17:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]