Borderou de evaluare (job #442833)

Utilizator avatar rares404 AlShaytan - Balasescu Rares rares404 IP ascuns
Problemă Submulţimi 2 (clasa a 6-a) Compilator c
Rundă Arhiva de probleme Status evaluat
Dată 5 mar. 2019 21:23:00 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘suma’: user.c:21:11: error: expected declaration specifiers or ‘...’ before numeric constant user.c:22:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:22:3: note: use option -std=c99 or -std=gnu99 to compile your code user.c:23:5: error: ‘ret’ undeclared (first use in this function) user.c:23:5: note: each undeclared identifier is reported only once for each function it appears in user.c: In function ‘bkt’: user.c:33:3: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c: In function ‘main’: user.c:43:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]