raspad.cpp: In function 'std::__cxx11::string merge(std::__cxx11::string, std::__cxx11::string)':
raspad.cpp:30:18: warning: array subscript has type 'char' [-Wchar-subscripts]
if (!~idx[B[i]])
^
raspad.cpp:31:13: warning: array subscript has type 'char' [-Wchar-subscripts]
idx[B[i]] = A[i];
^
raspad.cpp:32:24: warning: array subscript has type 'char' [-Wchar-subscripts]
merge(A[i], idx[B[i]]);
^
raspad.cpp: In function 'void solve()':
raspad.cpp:60:13: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
for (auto [vec, k]: dp[i & 1 ^ 1]) {
^
raspad.cpp:60:28: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
for (auto [vec, k]: dp[i & 1 ^ 1]) {
~~^~~
raspad.cpp:70:14: warning: array subscript has type 'char' [-Wchar-subscripts]
idx[B[j]] = max(idx[B[j]], (int) A[j]);
^
raspad.cpp:70:30: warning: array subscript has type 'char' [-Wchar-subscripts]
idx[B[j]] = max(idx[B[j]], (int) A[j]);
^
raspad.cpp:73:23: warning: array subscript has type 'char' [-Wchar-subscripts]
ted += !~idx[B[j]];
^
raspad.cpp:74:25: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
mp[i & 1][A] += mp[i & 1 ^ 1][vec];
~~^~~
raspad.cpp:78:13: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z
for (auto [vec, k]: mp[i & 1])
^
raspad.cpp:78:20: warning: unused variable 'vec' [-Wunused-variable]
for (auto [vec, k]: mp[i & 1])
^