Problem convexhull
User boaznumberd5555
Submission Time 2024-12-27 20:16:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

convexhull.cpp:2:5: error: ‘ll’ does not name a type
2 | ll m,c;
| ^~
convexhull.cpp:6:12: error: expected ‘)’ before ‘_m’
6 | line(ll _m, ll _c){
| ~ ^~~
| )
convexhull.cpp:10:5: error: ‘ll’ does not name a type
10 | ll operator ()(ll x){
| ^~
convexhull.cpp: In constructor ‘line::line()’:
convexhull.cpp:4:9: error: ‘m’ was not declared in this scope
4 | m=0,c=-3e18;
| ^
convexhull.cpp:4:13: error: ‘c’ was not declared in this scope
4 | m=0,c=-3e18;
| ^
convexhull.cpp: At global scope:
convexhull.cpp:17:5: error: ‘ll’ does not name a type
17 | ll s,e,m;
| ^~
convexhull.cpp:20:12: error: expected ‘)’ before ‘_s’
20 | node(ll _s, ll _e){
| ~ ^~~
| )
convexhull.cpp:45:5: error: ‘ll’ does not name a type
45 | ll qry(ll p)