Problem mindeque
User Pranav
Submission Time 2024-12-14 11:58:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mindeque.cpp: In function ‘int main()’:
mindeque.cpp:36:20: error: cannot convert ‘std::_Deque_iterator<long long int, long long int&, long long int*>’ to ‘long long int’ in assignment
36 | min= min_element(v.begin(), v.end());
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
| |
| std::_Deque_iterator<long long int, long long int&, long long int*>