Borderou de evaluare (job #1334411)

Utilizator alexx.cosmaCosma Cristian Alexandru alexx.cosma Data 4 februarie 2015 12:59:46
Problema Noname 3 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘print’: user.c:40:21: error: ‘resuhttp’ undeclared (first use in this function) int dif = s - f(resuhttp://www.heypasteit.com/clip/1SN2lt,n); ^ user.c:40:21: note: each undeclared identifier is reported only once for each function it appears in user.c:40:29: error: expected ‘)’ before ‘:’ token int dif = s - f(resuhttp://www.heypasteit.com/clip/1SN2lt,n); ^ user.c:77:1: error: too few arguments to function ‘f’ } ^ user.c:23:5: note: declared here int f(int a, int N) //Return sum from a to N + a - 1 ^ user.c:77:1: error: expected ‘,’ or ‘;’ before ‘}’ token } ^ user.c:77:1: error: expected declaration or statement at end of input user.c:40:9: warning: unused variable ‘dif’ [-Wunused-variable] int dif = s - f(resuhttp://www.heypasteit.com/clip/1SN2lt,n); ^ user.c:39:11: warning: unused variable ‘file’ [-Wunused-variable] FILE* file = fopen("noname3.out","a+"); ^ user.c: In function ‘main’: user.c:15:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.c:16:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&s); ^

Ceva nu functioneaza?