hdu1075What Are You Talking About(字典树,map)
使用二分肯定超时了。
map做法:
#include
#include
#include
#include
#include
using namespace std;
const int N = 3005;
char s[N];
map f;
int main()
{
string x;
cin >> x;
while(cin >> x &&
原创
2016-10-15 18:27:51 ·
345 阅读 ·
0 评论