#include using namespace std; // 面白い!!! void solve() { int n; string s; cin >> n >> s; vector a(n); for (int i=0; i> T; while (T--) solve(); }