Borderou de evaluare (job #1421801)

Utilizator UCV_Simion_Serban_TolgoiSerban Andra Costinela UCV_Simion_Serban_Tolgoi Data 19 aprilie 2015 12:48:07
Problema Produs4 Status done
Runda ONIS 2015, Runda 3 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:13:2: warning: implicit declaration of function ‘fscanf_s’ [-Wimplicit-function-declaration] fscanf_s(fin,"%d",&t); ^ user.c:29:8: error: expected ‘(’ before ‘{’ token while{fscanf(fin,"%f ",&v[i])>0) ^ user.c:29:34: error: expected statement before ‘)’ token while{fscanf(fin,"%f ",&v[i])>0) ^ user.c:51:1: error: expected declaration or statement at end of input } ^ user.c:28:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d ",&n); ^ user.c:29:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] while{fscanf(fin,"%f ",&v[i])>0) ^

Ceva nu functioneaza?