#include<iostream> #include<vector> #include<map> #include<algorithm> #define int long long #define lc p<<1 #define rc p<<1|1 using namespace std; const int N = 2e5 + 7; string s1, s2; struct Node { int L, R; int r, re, red; int e, ed; int d; }t[N << 2][2]; ...