Borderou de evaluare (job #1773764)
Utilizator | Data | 8 octombrie 2016 10:48:47 | |
---|---|---|---|
Problema | Infasuratoare convexa | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool cmpPoint(Point, Point)’:
user.cpp:29:36: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return (a.x<b.x) || (a.x==b.x) && (a.y<b.y);
^
user.cpp: In function ‘void convex_hull()’:
user.cpp:44:7: error: ‘class std::vector<Point>’ has no member named ‘pull_back’
h.pull_back(v[0]);
^
user.cpp:45:7: error: ‘class std::vector<Point>’ has no member named ‘pull_back’
h.pull_back(v[1]);
^
user.cpp:46:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 2; i < v.size(); i++) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !