Problem | minimum |
---|---|
User | 3lvian |
Submission Time | 2023-03-15 12:20:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:7:19: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
7 | return sort(A.begin(),A.end())[0];
| ^~~~~
minimum.cpp:7:29: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
7 | return sort(A.begin(),A.end())[0];
| ^~~