Problem lis
User carson
Submission Time 2025-03-26 17:54:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis.cpp: In function ‘int main()’:
lis.cpp:17:3: error: ‘x’ was not declared in this scope
17 | x = upper_bound(lis.begin(),lis.add(),arr[i]);
| ^
lis.cpp:17:35: error: ‘class std::vector<long long int>’ has no member named ‘add’
17 | x = upper_bound(lis.begin(),lis.add(),arr[i]);
| ^~~
lis.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
lis.cpp:4:1: note: to match this ‘{’
4 | {
| ^