Problem globalwarming
User samvar0907
Submission Time 2024-04-05 18:25:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp: In function ‘long long int ans()’:
globalwarming.cpp:60:12: error: ‘ll’ was not declared in this scope
60 | vector<ll> heights;
| ^~
globalwarming.cpp:60:14: error: template argument 1 is invalid
60 | vector<ll> heights;
| ^
globalwarming.cpp:60:14: error: template argument 2 is invalid
globalwarming.cpp:61:12: error: ‘pll’ was not declared in this scope
61 | vector<pll> lands;
| ^~~
globalwarming.cpp:61:15: error: template argument 1 is invalid
61 | vector<pll> lands;
| ^
globalwarming.cpp:61:15: error: template argument 2 is invalid
globalwarming.cpp:62:13: error: request for member ‘push_back’ in ‘heights’, which is of non-class type ‘int’
62 | heights.push_back(-1);
| ^~~~~~~~~
globalwarming.cpp:63:11: error: request for member ‘push_back’ in ‘lands’, which is of