Borderou de evaluare (job #3234222)
Utilizator | Data | 7 iunie 2024 23:29:28 | |
---|---|---|---|
Problema | Geamuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:32:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | while (posStart < start.size() && start[posStart].first == x) {
| ~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:34:13: error: 'tie' was not declared in this scope
34 | tie(y0, y1) = start[posStart].second;
| ^~~
main.cpp:4:1: note: 'std::tie' is defined in header '<tuple>'; did you forget to '#include <tuple>'?
3 | #include <algorithm>
+++ |+#include <tuple>
4 | using namespace std;
main.cpp:45:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, std::pair<int, int> > >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | while (posStop < stop.size() && stop[posStop].first == x) {
| ~~~~~~~~^~~~~~~~~~~~~
main.cpp:47:13: error: 'tie' was not declared in this scope
47 | tie(y0, y1) = stop[posStop].second;
| ^~~
main.cpp:47:13: note: 'std::tie' is defined in header '<tuple>'; did you forget to '#include <tuple>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !