1406번 에디터 문제 풀이 #include #include using namespace std; void fast_io(void) { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); } int main(void) { fast_io(); string str; list l; cin >> str; for (int i = 0; i > m; while (m--) { char order; cin >> order; //abcd if (order == 'L') { if (iter..