Borderou de evaluare (job #532578)

Utilizator avatar Zluca.jmecher Zamfir Luca Cristian Zluca.jmecher IP ascuns
Problemă Control (clasa a 6-a) Compilator c
Rundă Concurs clasa a 5-a (de acasă) Status evaluat
Dată 1 mar. 2020 11:53:09 Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘prim’: user.c:13:1: error: ‘for’ loop initial declarations are only allowed in C99 mode user.c:13:1: note: use option -std=c99 or -std=gnu99 to compile your code user.c: In function ‘main’: user.c:31:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat] user.c:33:1: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘short int *’ [-Wformat] user.c:31:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:33:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] user.c:55:1: warning: control reaches end of non-void function [-Wreturn-type]