2025-01-04AtCoder Regular Contest 065\(AT\_arc065\_a\)https://www.luogu.com.cn/problem/solution/AT_arc065_a题解:在读到\(d\)或\(e\)时判断是不是\(dream,dreamer,erase,eraser\)即可。注意\(dreamer\)和\(erase,eraser\)有重叠,于是在\(d\)时要特判,具体见代码。#include<bits/stdc++.h>usingnamespacestd