Problem stringsofimpurity
User Henries
Submission Time 2024-10-30 11:52:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stringsofimpurity.cpp: In function ‘long long int bsearch(char, std::vector<std::pair<char, long long int> >, long long int)’:
stringsofimpurity.cpp:5:17: error: ‘s’ was not declared in this scope
5 | long long ub = s.length() -1;
| ^