Visitors hit counter dreamweaver
摘要: 自己写的TLE。。。哎。不该用的我都用了。虽然说给出的数据可以运行出来,但是到提交上去后,就TLE了。不行啊。必须学会优化。后来看了别人的的好的方法(也不能算好吧,其实我看人家用trie树的效率才是高的)。但我还没调试出来。等明天我来把它弄出来。然后再去学trie树。再回来再次把它搞掂!!气愤。下面是我自己写的:没AC的。#include <iostream>#include <fstream>#include <string.h>#include <algorithm>using namespace std;int n;char s[100]; 阅读全文
posted @ 2012-03-28 01:08 Jason Damon 阅读(370) 评论(0) 推荐(1) 编辑