0_0_36918562_14399.cpp: In function 'void solve()': 0_0_36918562_14399.cpp:95:7: error: redeclaration of 'int L' int L = R; ^ 0_0_36918562_14399.cpp:94:7: note: 'int L' previously declared here int L = find(s[R],k); ^