Problem | arrayfind |
---|---|
User | Haocheng |
Submission Time | 2024-11-12 15:58:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:19:7: error: ‘lower’ was not declared in this scope; did you mean ‘tolower’?
19 | s = lower bound(arr.begin(),arr.end(),y)- arr.begin();
| ^~~~~
| tolower
arrayfind.cpp:20:10: error: ‘upper’ was not declared in this scope; did you mean ‘toupper’?
20 | g= L- (upper bound(arr.begin(), arr.end(),y)-arr.begin());
| ^~~~~
| toupper
arrayfind.cpp:20:15: error: expected ‘)’ before ‘bound’
20 | g= L- (upper bound(arr.begin(), arr.end(),y)-arr.begin());
| ~ ^~~~~~
| )
arrayfind.cpp:24:1: error: expected primary-expression before ‘}’ token
24 | }
| ^
arrayfind.cpp:23:11: error: expected ‘;’ before ‘}’ token
23 | return 0,
| ^
| ;
24 | }
| ~