Problem | globalwarming_ceoi |
---|---|
User | bribritt |
Submission Time | 2023-06-30 15:23:39 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
globalwarming_ceoi.cpp: In function ‘int32_t main()’:
globalwarming_ceoi.cpp:6:5: error: ‘vi’ was not declared in this scope
6 | vi lisF, lisB; int lis[n], t[n];
| ^~
globalwarming_ceoi.cpp:9:28: error: ‘lisF’ was not declared in this scope; did you mean ‘lis’?
9 | lis[i]=lower_bound(lisF.begin(),lisF.end(),t[i]+x)-lisF.begin();
| ^~~~
| lis
globalwarming_ceoi.cpp:14:29: error: ‘lisB’ was not declared in this scope; did you mean ‘lis’?
14 | lis[i]+=lower_bound(lisB.begin(),lisB.end(),t[i],greater<int>())-lisB.begin();
| ^~~~
| lis