Problem | minimum |
---|---|
User | rajatshenoi |
Submission Time | 2023-01-17 15:27:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:5:9: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
5 | sort(A.begin(), A.end());
| ^~~~~
minimum.cpp:5:20: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
5 | sort(A.begin(), A.end());
| ^~~
minimum.cpp:5:2: error: ‘sort’ was not declared in this scope; did you mean ‘short’?
5 | sort(A.begin(), A.end());
| ^~~~
| short