Problem nicenumber
User boaznumberd5555
Submission Time 2024-05-10 20:06:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nicenumber.cpp: In function ‘int32_t main()’:
nicenumber.cpp:11:22: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘long long int [n]’
11 | if(*lower_bound(arr.begin(),arr.end(),69)<= *upper_bound(arr.begin(),arr.end(),69)) cout<<*lower_bound(arr.begin(),arr.end(),69);
| ^~~~~
nicenumber.cpp:11:34: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘long long int [n]’
11 | if(*lower_bound(arr.begin(),arr.end(),69)<= *upper_bound(arr.begin(),arr.end(),69)) cout<<*lower_bound(arr.begin(),arr.end(),69);
| ^~~
nicenumber.cpp:11:63: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘long long int [n]’
11 | if(*lower_bound(arr.begin(),arr.end(),69)<= *upper_bound(arr.begin(),arr.end(),69)) cout<<*lower_bound(arr.begin(),arr.end(),69);
|