Problem | minimum |
---|---|
User | kaien |
Submission Time | 2024-05-30 17:31:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:6:23: error: invalid conversion from ‘int*’ to ‘int’ [-fpermissive]
6 | return min_element(A, A+N)
| ~~~~~~~~~~~^~~~~~~~
| |
| int*
minimum.cpp:6:31: error: expected ‘;’ before ‘}’ token
6 | return min_element(A, A+N)
| ^
| ;
7 | }
| ~