How can a pyramid structure be split into two groups of small pyramid (with legends in it )?

Source: Internet
Author: User
How can a pyramid structure be split into two groups of small pyramid (with legends in it )? Similar to this, it is a 30-member structure without a pyramid, and now needs to be split from the red line into two small pyramid.

These 30 people are all traversed from the database and arranged from top to bottom in chronological order from left to right.

Originally, I was trying to split a single pair of data. However, if a single pair of data is split, it is not split from the red line, but every other one, then all the singular and double numbers are combined into two new pyramid. However, such single and double numbers are not split from the red line.

I don't know how to deal with such a split?


Reply to discussion (solution)

$ A = array (,); echo'

'; For ($ I = 0, $ n = 2; $ I ';} Echo'

'; For ($ I = 0, $ n = 2; $ I '; Foreach ($ r as $ v) echo join ('', $ v ),'
'; Echo'

'; Echo'

'; Foreach ($ l as $ v) echo join ('', $ v ),'
'; Echo'

';

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.