大碗饭加蛋
大碗饭加蛋
全部文章
分类
CodeForces(6)
CSUOJ(38)
HDU(14)
NCPC 2016 October 8(1)
POJ(8)
SQL(1)
UVA(10)
对拍(1)
强化学习(1)
未归档(1)
题解(2)
归档
标签
去牛客网
登录
/
注册
Delusion
算法菜鸡刷题之路
全部文章
(共83篇)
CSUOJ 1162 Balls in the Boxes 快速幂
Description Mr. Mindless has many balls and many boxes,he wants to put all the balls into some of the boxes.Now, he wants to know how many diffe...
2018-05-08
0
277
CSUOJ 1005 Binary Search Tree analog
Description Binary Search Tree, abbreviated as BST, is a kind of binary tree maintains the following property: each node has a Key value, which c...
2018-05-08
0
316
CSUOJ 1224 ACM小组的古怪象棋
Description ACM小组的Samsara和Staginner对中国象棋特别感兴趣,尤其对马(可能是因为这个棋子的走法比较多吧)的使用进行深入研究。今天他们又在 构思一个古怪的棋局:假如Samsara只有一个马了,而Staginner又只剩下一个将,两个棋子都在棋盘的一边,马不能出这一半棋...
2018-05-08
0
404
CSU - 2061 Z‘s Coffee
Description Z is crazy about coffee. One day he bought three cups of coffee. The first cup has a capacity of A ml, the second has B ml and the third...
2018-04-19
0
256
CSU - 2062 Z‘s Array
Description Z likes to play with array. One day his teacher gave him an array of n elements, and ask Z whether the array is a "m-peek" arr...
2018-04-19
0
474
CSU - 2059 Water Problem
Description 一条‘Z’形线可以将平面分为两个区域,那么由N条Z形线所定义的区域的最大个数是多少呢?每条Z形线由两条平行的无限半直线和一条直线段组成 Input 首先输入一个数字T(T<100),代表有T次询问 每次询问输入一个数字N(N<1e8)...
2018-04-19
0
373
CSU - 2058 跳一跳
Description 冰弦非常热衷于过气微信小游戏“跳一跳”,现在给出了他每次游戏时的一些信息,请你帮他计算一下每局游戏的得分。 跳一跳的游戏规则如下: 玩家操控一个小棋子,在形状各异的“盒子”上边一路往前跳,当棋子跌落盒子之外时则游戏结束。 盒子的正中心为“...
2018-04-19
0
354
CSU - 2056 a simple game KMP
Description 这一天,小A和小B在玩一个游戏,他俩每人都有一个整数,然后两人轮流对他们的整数进行操作,每次在下列两个操作任选一个: (1)对整数进行翻转,如1234翻转成4321 ,1200翻转成21 (2)将整数除以10,如1234/10=123,1/10=0 当操作过程中出现a...
2018-04-19
0
581
CSU - 2055 Wells‘s Lottery
Description As is known to all, Wells is impoverished. When God heard that, God decide to help the poor Wells from terrible condition. One day Wells...
2018-04-19
0
255
NCPC 2016 October 8,2016 Artwork
Problem A Artwork Problem ID: artwork Time limit: 4 seconds A template for an artwork is a white grid of n×m squares. The artwork will be creat...
2018-04-06
0
331
首页
上一页
1
2
3
4
5
6
7
8
9
下一页
末页