mobile.cpp: In function 'void get_ranges()':
mobile.cpp:26:20: error: reference to 'ranges' is ambiguous
26 | while(!ranges.empty()){
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:27:34: error: reference to 'ranges' is ambiguous
27 | auto [px,py,l,r]=ranges.back();
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:32:21: error: reference to 'ranges' is ambiguous
32 | ranges.pop_back();
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:34:21: error: reference to 'ranges' is ambiguous
34 | ranges.back().r=inters;
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:38:16: error: reference to 'ranges' is ambiguous
38 | if(ranges.empty())
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:39:17: error: reference to 'ranges' is ambiguous
39 | ranges.push_back({(ld)x,(ld)y,0,(ld)len});
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:41:17: error: reference to 'ranges' is ambiguous
41 | ranges.push_back({(ld)x,(ld)y,ranges.back().r,(ld)len});
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp:41:47: error: reference to 'ranges' is ambiguous
41 | ranges.push_back({(ld)x,(ld)y,ranges.back().r,(ld)len});
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~
mobile.cpp: In function 'long double solve()':
mobile.cpp:52:26: error: reference to 'ranges' is ambiguous
52 | for(auto [x,y,l,r] : ranges){
| ^~~~~~
In file included from /usr/include/c++/11/compare:39,
from /usr/include/c++/11/bits/stl_pair.h:65,
from /usr/include/c++/11/bits/stl_algobase.h:64,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from mobile.cpp:1:
/usr/include/c++/11/concepts:163:13: note: candidates are: 'namespace std::ranges { }'
163 | namespace ranges
| ^~~~~~
mobile.cpp:14:14: note: 'std::vector<range> ranges'
14 | vector<range>ranges;
| ^~~~~~