摘要:
这题比较简单,用点STL写起来很方便,搞清楚题意就好,最好是先对dict读出来处理下,符合规则的存到map里,map不懂看下NOCOW。wa了2次,发现是忘了处理只判断一个字符串的情况/*ID: hubiao cavePROG: lgameLANG: C++*/#include#include#include#include#include#includeusing namespace std;#define VALUE(x) (value[x-'a'])map ms;list >lp;const int value[26]={2,5,4,4,1,6,5,5,1,7,6, 阅读全文