| Problem | minimum |
|---|---|
| User | Bristie |
| Submission Time | 2026-04-17 21:11:28 |
| 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:8: error: ‘sort’ is not a member of ‘std’
2 | std::sort(A.begin(), A.end());
| ^~~~
minimum.cpp:2:15: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
2 | std::sort(A.begin(), A.end());
| ^~~~~
minimum.cpp:2:26: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
2 | std::sort(A.begin(), A.end());
| ^~~
minimum.cpp:3:14: error: invalid types ‘int[int]’ for array subscript
3 | int a = a[0];
| ^