| Problem | minimum |
|---|---|
| User | AndyChen |
| Submission Time | 2026-05-15 13:22:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:4:12: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
4 | sort(A.begin(), A.end());
| ^~~~~
minimum.cpp:4:23: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
4 | sort(A.begin(), A.end());
| ^~~
minimum.cpp:5:12: error: ‘a’ was not declared in this scope
5 | return a[0];
| ^