上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 49 下一页
摘要: 题目描述X星球的机器人表演拉拉队有两种服装,A和B。他们这次表演的是搭机器人塔。类似: A B B A B A A A B B B B B A BA B A B B A队内的组塔规则是: A 只能站在 AA 或 BB 的肩上。 B 只能站在... 阅读全文
posted @ 2019-04-23 23:40 black_hole6 阅读(329) 评论(0) 推荐(0)
摘要: 题目描述小明冒充X星球的骑士,进入了一个奇怪的城堡。城堡里边什么都没有,只有方形石头铺成的地面。假设城堡地面是 n x n 个方格。【如图1.png】所示。按习俗,骑士要从西北角走到东南角。可以横向或纵向移动,但不能斜着走,也不能跳跃。每走到一个新方格,就要向正北方和... 阅读全文
posted @ 2019-04-23 11:38 black_hole6 阅读(435) 评论(0) 推荐(0)
摘要: 都说了别看,还看!好吧,既然点进来了,那就告诉你题意:给你一个方程,Ax+By+C=0,给你A,B,C;请找出一组解(x,y),解的要求:x是所有解中的最小正整数,y就是任意一个整数。如果存在这样的解,请给出这个解中的x;如果不存在,请输出 -1。会吗?Input ... 阅读全文
posted @ 2019-04-22 00:15 black_hole6 阅读(282) 评论(0) 推荐(0)
摘要: Input2Output2 Hint1. For N = 2, S(1) = S(2) = 1. 2. The input file consists of multiple test cases.Sample Input2Sample Output2... 阅读全文
posted @ 2019-04-20 20:34 black_hole6 阅读(312) 评论(0) 推荐(0)
摘要: A为一个方阵,则Tr A表示A的迹(就是主对角线上各项的和),现要求Tr(A^k)%9973。 Input数据的第一行是一个T,表示有T组数据。 每组数据的第一行有n(2 #include#include#include#include#include#include... 阅读全文
posted @ 2019-04-15 09:19 black_hole6 阅读(594) 评论(0) 推荐(0)
摘要: Bamboo Pole-vault is a massively popular sport in Xzhiland. And Master Phi-shoe is a very popular coach for his success. He needs some... 阅读全文
posted @ 2019-04-13 18:23 black_hole6 阅读(199) 评论(0) 推荐(0)
摘要: In our daily life we often use 233 to express our feelings. Actually, we may say 2333, 23333, or 233333 ... in the same meaning. And h... 阅读全文
posted @ 2019-04-13 12:01 black_hole6 阅读(349) 评论(1) 推荐(0)
摘要: Edward, the emperor of the Marjar Empire, wants to build some bidirectional highways so that he can reach other cities from the capita... 阅读全文
posted @ 2019-04-12 16:52 black_hole6 阅读(216) 评论(0) 推荐(0)
摘要: Edward, the headmaster of the Marjar University, is very busy every day and always forgets the date.There was one day Edward suddenly ... 阅读全文
posted @ 2019-04-11 23:37 black_hole6 阅读(238) 评论(0) 推荐(0)
摘要: It’s time to fight the local despots and redistribute the land. There is a rectangular piece of land granted from the government, whos... 阅读全文
posted @ 2019-04-11 17:06 black_hole6 阅读(178) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 49 下一页