Problem lowelements
User AaravRastogi
Submission Time 2025-12-04 16:48:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lowelements.cpp: In function ‘int main()’:
lowelements.cpp:11:41: error: no match for call to ‘(std::vector<long long int>) (long long int&)’
11 | for (int x = 0; x < n; ++x){ cin >> p(x);}
| ^
lowelements.cpp:16:14: error: no match for call to ‘(std::vector<long long int>) (long long int&)’
16 | if (min(p(i), m) >= p(i)){
| ^
lowelements.cpp:16:26: error: no match for call to ‘(std::vector<long long int>) (long long int&)’
16 | if (min(p(i), m) >= p(i)){
| ^
lowelements.cpp:18:14: error: no match for call to ‘(std::vector<long long int>) (long long int&)’
18 | m = min(p(i),m)}
| ^
lowelements.cpp:22:11: error: expected ‘}’ at end of input
22 | return 0;}
| ^
lowelements.cpp:5:14: note: to match this ‘{’
5 | signed main(){
|