Borderou de evaluare (job #3361571)
| Utilizator | Data | 25 iulie 2026 20:09:59 | |
|---|---|---|---|
| Problema | Tri2 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void normalizam()':
main.cpp:137:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
137 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp:145:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
145 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp: In function 'void solve()':
main.cpp:162:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
162 | for(int i=0;i < a.size();i++){
| ~~^~~~~~~~~~
main.cpp:172:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Segment>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
172 | for(int j = 0;j < segs.size();j++){
| ~~^~~~~~~~~~~~~
main.cpp:185:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Point>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
185 | for(int i=0;i<a.size();i++){
| ~^~~~~~~~~
main.cpp:212:49: error: expected ')' before ']' token
212 | - under[Segment(le, ri)]]);
| ^
| )
main.cpp:210:26: note: to match this '('
210 | ans.push_back(under[Segment(le, mid)]
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
