Problem minimum
User 3lvian
Submission Time 2023-03-15 12:22:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:14: error: request for member ‘sort’ in ‘A’, which is of non-class type ‘int*’
7 | return A.sort(A, A + sizeof(A) / sizeof(A[0]))[0];
| ^~~~