> For the complete documentation index, see [llms.txt](https://wenbo-notes.gitbook.io/coding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wenbo-notes.gitbook.io/coding/kattis/easy/building-pyramids.md).

# Building Pyramids

## Question

{% embed url="<https://open.kattis.com/problems/pyramids>" %}

## Solution

### Idea

This is a basic problem about **loops**. Only pay attentation to the edge case.

### Code

{% @github-files/github-code-block url="<https://github.com/mendax1234/Coding-Problems/blob/main/kattis/pyramids/pyramids.c>" %}
