| Problem | minimum |
|---|---|
| User | pasit |
| Submission Time | 2026-03-27 11:45:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:1:51: error: request for member ‘begin’ in ‘A’, which is of non-class type ‘int*’
1 | int findMin(int N, int A[]){return *min_element(A.begin(),A.end());}
| ^~~~~
minimum.cpp:1:61: error: request for member ‘end’ in ‘A’, which is of non-class type ‘int*’
1 | int findMin(int N, int A[]){return *min_element(A.begin(),A.end());}
| ^~~
minimum.cpp:1:37: error: ‘min_element’ was not declared in this scope
1 | int findMin(int N, int A[]){return *min_element(A.begin(),A.end());}
| ^~~~~~~~~~~