摘要:
初次运行 Git 前的配置一般在新的系统上,我们都需要先配置下自己的 Git 工作环境。配置工作只需一次,以后升级时还会沿用现在的配置。当然,如果需要,你随时可以用相同的命令修改已有的配置。Git 提供了一个叫做 git config 的工具(译注:实际是git-config命令,只不过可以通过gi... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(100)
评论(0)
推荐(0)
摘要:
思路: AC自动机#include#include#includetypedef struct Node_Tree{ int cnt; struct Node_Tree *child[26]; struct Node_Tree *fail; }Node; Node *root;... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(90)
评论(0)
推荐(0)
摘要:
目前的搜狗输入法 for Linux 是Linux Deepin 社区版的测试版,基于Fcitx 框架。话不多说,直接上。准备工作:卸载Ubuntu默认的ibus输入法:sudo apt-get remove ibus然后添加Fcitx 源:sudo add-apt-repository ppa:f... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(478)
评论(0)
推荐(0)
摘要:
统计难题Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 15031Accepted Submission(s): 6436Problem Desc... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(122)
评论(0)
推荐(0)
摘要:
思路: KMP#include#includechar a[1005], b[1005];int fail[1005];int lena, lenb;int cnt;void getfail(){ fail[0] = -1; int i, j; for(i = 1, j = -1;... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(81)
评论(0)
推荐(0)
摘要:
#includeint a[1000005], b[10005]; int fail[10005];int n, m, T; void getfail(){ fail[0] = -1; int i, j; for(i = 1, j = -1; i = 0 && b[j + 1... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(105)
评论(0)
推荐(0)
摘要:
#include#include#includetypedef struct{ int t; int a[105]; char str[5];}Play;Play player[105];int cmp(const void *a,const void *b){ return... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(98)
评论(0)
推荐(0)
摘要:
思路:Tarjan/*=====================================================================# Author: wangzhili# Mail : wangstdio.h@gmail.com# QQ : 240130760# Fi... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(90)
评论(0)
推荐(0)
摘要:
思路:划分树#include#include#include#define MAX 100005using namespace std;class TreeNode{ public: int left, right, mid;};TreeNode node[4*MAX];int ... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(108)
评论(0)
推荐(0)
摘要:
划分树#include#include#include#define MAX 100005using namespace std;class TreeNode{ public: int left; int right; int mid;};int To... 阅读全文
posted @ 2014-04-30 18:36
wangzhili
阅读(98)
评论(0)
推荐(0)
浙公网安备 33010602011771号