Borderou de evaluare (job #1362819)
| Utilizator | Data | 26 februarie 2015 15:47:39 | |
|---|---|---|---|
| Problema | A+B | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:17: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in assignment
I[i].x1 = lower_bound(vx.begin(), vx.end(), I[i].x1);
^
user.cpp:40:17: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in assignment
I[i].x2 = lower_bound(vx.begin(), vx.end(), I[i].x2);
^
user.cpp:41:17: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in assignment
I[i].y1 = lower_bound(vy.begin(), vy.end(), I[i].y1);
^
user.cpp:42:17: error: cannot convert ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘int’ in assignment
I[i].y2 = lower_bound(vy.begin(), vy.end(), I[i].y2);
^
user.cpp:44:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:44:5: error: expected ‘;’ before ‘}’ token
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
