HBC50952tjc与sweet,数学,思维Fractal题解

一沫阳光 算法基础篇 35 0
全网最全C++题库,助您快速提升编程技能!题库丰富多样,涵盖各个领域,让您在练习中不断成长!
B B Your task is to draw a box fractal of degree n.

A fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit exactly the same structure at all scales, but the same "type" of structures must appear on all scales.  A box fractal is defined as below :  A box fractal of degree 1 is simply  X  A box fractal of degree 2 is  X X  X  X X  If using B(n - 1) to represent the box fractal of degree n - 1, then a box fractal of degree n is defined recursively as following  B(n - 1) B(n - 1) B(n - 1) B(n - 1) B(n - 1) Your task is to draw a box fractal of degree n.

HBC50952tjc与sweet,数学,思维Fractal题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)
成为编程大师,不再是梦想!全网最全C++题库,助您开启编程新篇章。

标签: HBC50952tjc与sweet 数学 思维Fractal题解