Problem minimum
User kaien
Submission Time 2024-05-30 16:58:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:12: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
5 | sort(A.begin(), A.end());
| ^~~~~
minimum.cpp:5:23: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
5 | sort(A.begin(), A.end());
| ^~~