Borderou de evaluare (job #2072690)
Utilizator | Data | 22 noiembrie 2017 08:19:44 | |
---|---|---|---|
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: In function ‘std::pair<std::pair<std::pair<int, int>, std::pair<int, int> >, double> ClosestPoints(std::vector<std::pair<int, int> >, std::vector<std::pair<int, int> >, int, int)’:
user.cpp:73:90: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> > >::value_type’ has no member named ‘y’
for (unsigned j = i + 1; j < puncteDinRegiuneaLuiL.size() && (puncteDinRegiuneaLuiL[j].y - puncteDinRegiuneaLuiL[i].y) < d.second; j++)
^
user.cpp:73:119: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> > >::value_type’ has no member named ‘y’
for (unsigned j = i + 1; j < puncteDinRegiuneaLuiL.size() && (puncteDinRegiuneaLuiL[j].y - puncteDinRegiuneaLuiL[i].y) < d.second; j++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !