Problem | minimum |
---|---|
User | naresh |
Submission Time | 2024-07-25 07:15:08 |
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:18: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
7 | return min(A.begin(), A.end())
| ^~~~~
minimum.cpp:7:29: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
7 | return min(A.begin(), A.end())
| ^~~
minimum.cpp:7:35: error: expected ‘;’ before ‘}’ token
7 | return min(A.begin(), A.end())
| ^
| ;
8 | }
| ~