摘要: 1.作用Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。2.格式grep [options]3.主要参数[optio... 阅读全文
posted @ 2014-07-17 23:23 bitgirl_coder 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Index of super-primetime limit per test: 0.25 sec.memory limit per test: 4096 KBLetP1, P2, … ,PN, …be a sequence of prime numbers. Super-prime number ... 阅读全文
posted @ 2014-05-14 16:29 bitgirl_coder 阅读(249) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;const int maxn = 30000+100;int F[maxn], D[maxn], S[maxn];void set(int n){ for(int i =0 ;i >P; char c; int a, b; while(P--)... 阅读全文
posted @ 2014-05-09 22:59 bitgirl_coder 阅读(137) 评论(0) 推荐(0) 编辑
摘要: http://acm.sgu.ru/problem.php?contest=0&problem=488#include#includeusing namespace std;int T , N;int a[100000] ={0};int b[100000] ={0};int L[100000] =... 阅读全文
posted @ 2014-05-07 22:58 bitgirl_coder 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;const int maxn=100+10;const int dx[]={-1,0,1,0};const int dy[]={0,1,0,-1};int B[maxn][maxn]={0};bool pass[maxn][maxn]={0};... 阅读全文
posted @ 2014-04-18 16:50 bitgirl_coder 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 本文将要讨论基于矩阵分解的推荐算法,这一类型的算法通常会有很高的预测精度,也活跃于各大推荐系统竞赛上面,前段时间的百度电影推荐最终结果的前10名貌似都是把矩阵分解作为一个单模型,最后各种ensemble,不知道正在进行的阿里推荐比赛(http://102.alibaba.com/competitio... 阅读全文
posted @ 2014-04-14 19:58 bitgirl_coder 阅读(445) 评论(0) 推荐(0) 编辑
摘要: In the process of preparation to Halloween it was decided to plant some pumpkins on then×mmeters rectangular platform. The platform is divided ton×mid... 阅读全文
posted @ 2014-04-13 22:45 bitgirl_coder 阅读(355) 评论(0) 推荐(0) 编辑