
杂货
文章平均质量分 64
qq_775395462
是什么让我们每天早上7点起床,不辞辛苦来到公司上班,是穷吗?
不,是对老板的信任以及对公司企业文化的认可!
展开
-
Break Standard Weight
DescriptionThe balance was the first mass measuring instrument invented. In its traditional form, it consists of a pivoted horizontal lever of equal length arms, called the beam, with a weighing p原创 2014-08-19 15:52:46 · 314 阅读 · 0 评论 -
报数游戏
Descriptionn个人站成一行玩一个报数游戏。所有人从左到右编号为1到n。游戏开始时,最左边的人报1,他右边的人报2,编号为3的人报3,等等。当编号为n的人(即最右边的人)报完n之后,轮到他左边的人(即编号为n-1的人)报n+1,然后编号为n-2的人报n+2,以此类推。当最左边的人再次报数之后,报数方向又变成从左到右,依次类推。 为了防止游戏太无聊,报数时有一个特例:如果应该报的原创 2014-08-15 20:39:00 · 645 阅读 · 0 评论 -
签到
原创 2014-11-13 11:42:40 · 431 阅读 · 0 评论 -
过山车-二分图最大匹配
DescriptionRPG girls今天和大家一起去游乐场玩,终于可以坐上梦寐以求的过山车了。可是,过山车的每一排只有两个座位,而且还有条不成文的规矩,就是每个女生必须找个个男生做partner和她同坐。但是,每个女孩都有各自的想法,举个例子把,Rabbit只愿意和XHD或PQK做partner,Grass只愿意和linle或LL做partner,PrincessSnow愿意和水域浪子原创 2014-08-12 19:45:09 · 384 阅读 · 0 评论 -
Packets
DescriptionA factory produces products packed in square packets of the same height h and of the sizes 1*1, 2*2, 3*3, 4*4, 5*5, 6*6. These products are always delivered to customers in the square p原创 2014-12-07 11:40:33 · 371 阅读 · 0 评论 -
EOF女神的相反数
Description 作为女神,EOF是很喜欢照镜子的~同样在数学中,EOF也是很喜欢相反数的。不过她既然是女神,她认知的相反数和我们凡人怎么能一样呢? 给定一个十进制数A,EOF女神定义的相反数就是把这个数转化为二进制之后,忽略高位的0,然后作轴对称,例如对于十进制的数123(1111011),它的相反数是111(1101111)。EOF女神就打算以此来考验原创 2014-11-15 16:13:03 · 625 阅读 · 0 评论 -
Andrey and Problem
DescriptionAndrey needs one more problem to conduct a programming contest. He has n friends who are always willing to help. He can ask some of them to come up with a contest problem. Andre原创 2014-12-14 20:10:23 · 549 阅读 · 0 评论 -
...
#include#include#include#define MAX 70#includeusing namespace std;//实现dig1和dig2的字符串加法,结果更新dig1//返回true运算成功,返回false说明得到的字符串长度大于lenbool AddSelfOnce(char dig1[],char dig2[],int len);char原创 2015-07-09 18:18:35 · 342 阅读 · 0 评论 -
魔方矩阵
输入一奇数n(nn*n构成的魔方矩阵。 魔方矩阵的行列及对角线的和都相等。输入描述:输入一奇数n(n输出描述:打印出1->n*n构成的魔方矩阵,每一个数据之间用一个空格隔开,但每行的最后一个数据后不能有空格.所有输出的最后一行不能有回车样式输入:3样式输出:8 1 6 3 5 7原创 2014-12-17 19:38:24 · 1129 阅读 · 0 评论