Problem | lis_easy |
---|---|
User | Enigma |
Submission Time | 2023-11-10 09:15:28 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:3:21: error: ‘vector’ has not been declared
3 | int lengthOfLIS(vector<int>& nums) {
| ^~~~~~
lis_easy.cpp:3:27: error: expected ‘,’ or ‘...’ before ‘<’ token
3 | int lengthOfLIS(vector<int>& nums) {
| ^
lis_easy.cpp: In member function ‘int Solution::lengthOfLIS(int)’:
lis_easy.cpp:4:9: error: ‘set’ was not declared in this scope
4 | set<int> st;
| ^~~
lis_easy.cpp:4:13: error: expected primary-expression before ‘int’
4 | set<int> st;
| ^~~
lis_easy.cpp:5:9: error: ‘vector’ was not declared in this scope
5 | vector<int> v;
| ^~~~~~
lis_easy.cpp:5:16: error: expected primary-expression before ‘int’
5 | vector<int> v;
| ^~~
lis_easy.cpp:6:15: error: ‘nums’ was not declared in this scope