Borderou de evaluare (job #2069486)
Utilizator | Data | 18 noiembrie 2017 14:54:25 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:1: error: ‘set’ does not name a type
set<int> y;
^
user.cpp: In function ‘bool comparare(punct, punct)’:
user.cpp:27:37: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return ((A.x<B.x) || (A.x==B.x) && (A.y<B.y));
^
user.cpp: In function ‘void Solutie(int, int)’:
user.cpp:86:39: error: ‘y’ was not declared in this scope
if(abs(v[i].x - dreapta.x)<=smin ) {y.insert(v[i]); }
^
user.cpp: In function ‘int main()’:
user.cpp:119:6: error: ‘y’ was not declared in this scope
sort(y.begin(),y.end(),comp);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !