Problem | cht |
---|---|
User | asbx |
Submission Time | 2023-12-27 10:29:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cht.cpp:14:5: error: ‘ld’ does not name a type; did you mean ‘ll’?
14 | ld is(ll a, ll b, ll c, ll d){
| ^~
| ll
cht.cpp: In member function ‘void MonotonicLineContainer::add(long long unsigned int, long long unsigned int)’:
cht.cpp:21:44: error: ‘is’ was not declared in this scope; did you mean ‘s’?
21 | if((d[s-1].F==m&&c>d[s-1].S)||(is(d[s-1].first, d[s-1].second,m,c) <= is(d[s-2].first, d[s-2].second,m,c))) d.PB();
| ^~
| s
cht.cpp: In function ‘int main()’:
cht.cpp:51:20: error: expected ‘;’ before ‘return’
51 | cout<<z[n-1]<<"\n"
| ^
| ;
52 | return 0;
| ~~~~~~