Problem | lis_easy |
---|---|
User | NikhilK |
Submission Time | 2023-08-25 19:16:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int longestIncreasingSubsequence(const std::vector<int>&)’:
lis_easy.cpp:16:18: error: ‘max_element’ is not a member of ‘std’; did you mean ‘tuple_element’?
16 | return *std::max_element(dp.begin(), dp.end());
| ^~~~~~~~~~~
| tuple_element