Borderou de evaluare (job #2283053)
Utilizator | Data | 14 noiembrie 2018 21:52:48 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'double minn(const std::vector<point>&, int, int)':
main.cpp:81:14: error: 'INT_MAX' was not declared in this scope
double d1 = INT_MAX, d2 = INT_MAX, d3 = INT_MAX;
^~~~~~~
main.cpp:85:13: error: 'd2' was not declared in this scope
if (d1 < d2) {
^~
main.cpp:91:9: error: 'd2' was not declared in this scope
return d2;
^~
main.cpp: In function 'double divide(int, int, const std::vector<point>&)':
main.cpp:133:8: error: 'INT_MAX' was not declared in this scope
d3 = INT_MAX;
^~~~~~~
main.cpp:134:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < LY.size(); i++) {
~~^~~~~~~~~~~
main.cpp:136:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (d4 <= d && j < LY.size()) {
~~^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !