Borderou de evaluare (job #1148341)
Utilizator | Data | 20 martie 2014 18:12:16 | |
---|---|---|---|
Problema | Permut | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:4:1: warning: return type defaults to ‘int’ [enabled by default]
main()
^
user.c: In function ‘main’:
user.c:17:9: warning: format ‘%lf’ expects argument of type ‘double *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fp, "%lf", &v1[i]);
^
user.c:21:9: warning: format ‘%lf’ expects argument of type ‘double *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(fp, "%lf", &v2[i]);
^
user.c:40:9: error: ‘suma’ undeclared (first use in this function)
suma += v1[i] * v2[i];
^
user.c:40:9: note: each undeclared identifier is reported only once for each function it appears in
user.c:7:23: warning: unused variable ‘lf’ [-Wunused-variable]
int i, j, N, aux, lf=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !