蓝桥杯
向神明诉语、
这个作者很懒,什么都没留下…
展开
-
P1205 [USACO1.2] 方块转换 Transformations
一块 n×nn \times nn×n 正方形的黑白瓦片的图案要被转换成新的正方形图案。写一个程序来找出将原始图案按照以下列转换方法转换成新图案的最小方式:转 90°90\degree90°:图案按顺时针转 90°90\degree90°。转 180°180\degree180°:图案按顺时针转 180°180\degree180°。转 270°270\degree270°:图案按顺时针转 270°270\degree270°。反射:图案在水平方向翻转(以中央铅垂线为中心形成原图案的镜像)。组合:图案在水原创 2022-06-21 08:13:58 · 134 阅读 · 0 评论 -
第十一届蓝桥杯JAVAB组--蛇形填数---数学规律做法
1 2 6 7 15 16 3 5 8 14 17 4 9 13 18 10 12 19 25 11 20 41 21 第n行第n列的数分别是1、5、13、25、41public class C { public static void main(String[] ar原创 2022-03-30 19:58:48 · 304 阅读 · 0 评论