Borderou de evaluare (job #1746692)
Utilizator | Data | 23 august 2016 19:09:40 | |
---|---|---|---|
Problema | Iepuri | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:9:5: error: ‘fout’ undeclared (first use in this function)
fout=fopen("iepuri.out","w");
^
user.c:9:5: note: each undeclared identifier is reported only once for each function it appears in
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fin,"%d %d %d %d %d %d %d",&x,&y,&z,&a,&b,&c,&n);
^
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 5 has type ‘long int *’ [-Wformat=]
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 6 has type ‘long int *’ [-Wformat=]
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 7 has type ‘long int *’ [-Wformat=]
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 8 has type ‘long int *’ [-Wformat=]
user.c:13:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 9 has type ‘long int *’ [-Wformat=]
user.c:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&t);
^
user.c:13:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d %d %d %d %d %d %d",&x,&y,&z,&a,&b,&c,&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !