Borderou de evaluare (job #1271693)
Utilizator | Data | 22 noiembrie 2014 13:13:11 | |
---|---|---|---|
Problema | Taste | Status | done |
Runda | FMI No Stress 5 | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:23:5: error: expected ‘;’ before ‘}’ token
}
^
user.c:24:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld %ld",puta,putb);
^
user.c:24:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
user.c:6:18: warning: unused variable ‘j’ [-Wunused-variable]
long int n,i,j,a,b,x,y;
^
user.c:6:16: warning: unused variable ‘i’ [-Wunused-variable]
long int n,i,j,a,b,x,y;
^
user.c:6:14: warning: unused variable ‘n’ [-Wunused-variable]
long int n,i,j,a,b,x,y;
^
user.c:9:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld",&a,&b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !