上一页 1 2 3 4 5 6 ··· 17 下一页

2016年3月12日

摘要: 题目描述After the last debacle involving Farmer John’s circular barn, one would think he had learned his lesson about non-traditional architectur... 阅读全文
posted @ 2016-03-12 16:04 JeremyGuo 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 题目描述Being a fan of contemporary architecture, Farmer John has built a new barn in the shape of a perfect circle. Inside, the barn consists of... 阅读全文
posted @ 2016-03-12 15:52 JeremyGuo 阅读(319) 评论(0) 推荐(0) 编辑

2016年3月10日

摘要: 操作1插入x 操作2删除x 操作3查询x排名 操作4查询排名为x的数 操作5查询x的前驱 操作6查询x的后继#include #include #include using namespace std;struct node{ int sz, val; node *ch... 阅读全文
posted @ 2016-03-10 13:49 JeremyGuo 阅读(195) 评论(0) 推荐(0) 编辑

2016年3月9日

摘要: #include #include #include #include #include #include using namespace std;const int MAXN = 500;const int MAXM = 20000;typedef pair pii;priori... 阅读全文
posted @ 2016-03-09 13:49 JeremyGuo 阅读(212) 评论(0) 推荐(0) 编辑

2016年3月8日

摘要: 题目描述Alex 喜欢玩网络游戏,认为这是智力和体力的综合锻炼。在一次游戏活动中, 他意外获得了一个传说中威力极其强大的法宝:珠链。 珠链,顾名思义,就是由许多小珠子串起来的一条链。珠子有很多种颜色。 Alex 听说过,只有将珠链打磨纯净,珠链才能发挥最大的威力。 纯净珠链是指这样... 阅读全文
posted @ 2016-03-08 15:27 JeremyGuo 阅读(196) 评论(0) 推荐(0) 编辑

2016年3月4日

摘要: 题目描述DescriptionGiven a n×n matrix A and a positive integer k, find the sum S=A+A2+A3+…+Ak.InputThe input contains exactly one test case. The ... 阅读全文
posted @ 2016-03-04 13:32 JeremyGuo 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 题目描述Sequence (ai) of natural numbers is defined as follows:ai=bi(i≤k) ai=c1ai−1+c2ai−2+...+ckai−k(i>k)where bj and cj are given natural nu... 阅读全文
posted @ 2016-03-04 12:53 JeremyGuo 阅读(196) 评论(0) 推荐(0) 编辑

2016年3月2日

摘要: 题目描述Description阿申准备报名参加GT考试,准考证号为N位数X1X2….Xn(0#include #include using namespace std;const int MAXN = 22;int MOD, Fail[MAXN+10];char s[MAXN+10... 阅读全文
posted @ 2016-03-02 14:06 JeremyGuo 阅读(181) 评论(0) 推荐(0) 编辑

2016年3月1日

摘要: 题目描述In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn − 1 + Fn − 2 for n ≥ 2. For example, the first ten terms of the Fibonacci ... 阅读全文
posted @ 2016-03-01 13:37 JeremyGuo 阅读(130) 评论(0) 推荐(0) 编辑

2016年2月19日

摘要: 题目描述注:此题为BZOJ的权限题目Description农夫Byteasar买了一片n亩的土地,他要在这上面种草。 他在每一亩土地上都种植了一种独一无二的草,其中,第i亩土地的草每天会长高a[i]厘米。 Byteasar一共会进行m次收割,其中第i次收割在第d[i]天,并把所有高... 阅读全文
posted @ 2016-02-19 23:38 JeremyGuo 阅读(200) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页

导航