摘要: 直接暴力代码如下:#include <cstring>#include <cstdlib>#include <cstdio>#include <algorithm>#include <map>#include <string>#include <iostream>using namespace std;int N;string ans;map<string, int>mp[15]; map<string, int> :: iterator it;int main(){ int T; ch 阅读全文
posted @ 2012-07-10 01:26 沐阳 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 直接暴力。代码如下:#include <cstring>#include <cstdio>#include <cstdlib>#include <map>#include <string>using namespace std;char word[10005][55], c[55];map<string, int>mp;bool Del(int x){ int length = strlen(c), sum = 0; if (length != strlen(word[x])+1) { return false; } fo 阅读全文
posted @ 2012-07-10 00:17 沐阳 阅读(193) 评论(0) 推荐(0) 编辑