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