Problem | nicenumber |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-05-10 20:07:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
nicenumber.cpp: In function ‘int32_t main()’:
nicenumber.cpp:10:22: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘int [n]’
10 | 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:10:34: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘int [n]’
10 | 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:10:63: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘int [n]’
10 | 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:10