Problem | card |
---|---|
User | ansellee |
Submission Time | 2024-02-13 16:22:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:17:54: error: ‘max_element’ is not a member of ‘std’; did you mean ‘tuple_element’?
17 | typename vector<int>::iterator themax = std::max_element(cards.begin(), cards.end());
| ^~~~~~~~~~~
| tuple_element
card.cpp:21:54: error: ‘min_element’ is not a member of ‘std’
21 | typename vector<int>::iterator themin = std::min_element(cards.begin(), cards.end());
| ^~~~~~~~~~~