Problem minimum
User Beanhead
Submission Time 2023-11-05 15:12:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp: In function ‘int findMin(int, int*)’:
minimum.cpp:2:2: error: only constructors take member initializers
2 | x = A[0]
| ^
minimum.cpp:2:4: error: expected ‘(’ before ‘=’ token
2 | x = A[0]
| ^
| (
minimum.cpp:2:4: error: expected ‘{’ before ‘=’ token
minimum.cpp: At global scope:
minimum.cpp:2:4: error: expected unqualified-id before ‘=’ token