Borderou de evaluare (job #1633467)
Utilizator | Data | 6 martie 2016 12:14:41 | |
---|---|---|---|
Problema | Puzzle2 | Status | done |
Runda | ONIS 2016, Runda 1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dimensiuni()’:
user.cpp:48:23: error: ‘sqrt’ was not declared in this scope
int rad=sqrt(delta);
^
user.cpp: In function ‘void completare(int)’:
user.cpp:80:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, crt=0, prec=1, ant, lin, col=0;
^
user.cpp: In function ‘void citire()’:
user.cpp:36:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &m);
^
user.cpp:39:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &a, &b);
^
user.cpp: In function ‘int colt()’:
user.cpp:76:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int vecin_comun(int, int)’:
user.cpp:145:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !