Problem reverseandmin
User blob
Submission Time 2023-12-13 16:53:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘std::pair<int, int> findUnbalancedSubstring(const string&)’:
reverseandmin.cpp:12:33: error: ‘j’ was not declared in this scope
12 | B[i] = B[i - 1] + (c == j);
| ^