Borderou de evaluare (job #1146936)
Utilizator | Data | 19 martie 2014 13:56:33 | |
---|---|---|---|
Problema | Excursie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:31: warning: format ‘%f’ expects argument of type ‘float*’, but argument 5 has type ‘double*’ [-Wformat=]
fscanf(f,"%d%d%f",&n,&m,&d);
^
user.cpp:13:15: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int n,i,j,ok,li,m,ci,lf,cf;
^
user.cpp:14:12: warning: unused variable ‘nr’ [-Wunused-variable]
double nr,sum,d;
^
user.cpp:14:15: warning: unused variable ‘sum’ [-Wunused-variable]
double nr,sum,d;
^
user.cpp:109:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !