#include <stdio.h>
int main() {
int N;
// รับจำนวนแท่งกราฟ
int heights[N];
// รับค่าความสูงของกราฟแต่ละแท่ง
for (int i = 0; i < N; i++) {
scanf("%d", &heights
[i
]); }
// พิมพ์กราฟแท่ง
for (int i = 0; i < N; i++) {
for (int j = 0; j < heights[i]; j++) {
}
printf("\n"); // ขึ้นบรรทัดใหม่หลังจากพิมพ์แท่งกราฟแต่ละแท่ง }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpIHsKICAgIGludCBOOwogICAgCiAgICAvLyDguKPguLHguJrguIjguLPguJnguKfguJnguYHguJfguYjguIfguIHguKPguLLguJ8KICAgIHNjYW5mKCIlZCIsICZOKTsKICAgIAogICAgaW50IGhlaWdodHNbTl07CiAgICAKICAgIC8vIOC4o+C4seC4muC4hOC5iOC4suC4hOC4p+C4suC4oeC4quC4ueC4h+C4guC4reC4h+C4geC4o+C4suC4n+C5geC4leC5iOC4peC4sOC5geC4l+C5iOC4hwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBOOyBpKyspIHsKICAgICAgICBzY2FuZigiJWQiLCAmaGVpZ2h0c1tpXSk7CiAgICB9CiAgICAKICAgIC8vIOC4nuC4tOC4oeC4nuC5jOC4geC4o+C4suC4n+C5geC4l+C5iOC4hwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCBOOyBpKyspIHsKICAgICAgICBmb3IgKGludCBqID0gMDsgaiA8IGhlaWdodHNbaV07IGorKykgewogICAgICAgICAgICBwcmludGYoIioiKTsKICAgICAgICB9CiAgICAgICAgcHJpbnRmKCJcbiIpOyAgLy8g4LiC4Li24LmJ4LiZ4Lia4Lij4Lij4LiX4Lix4LiU4LmD4Lir4Lih4LmI4Lir4Lil4Lix4LiH4LiI4Liy4LiB4Lie4Li04Lih4Lie4LmM4LmB4LiX4LmI4LiH4LiB4Lij4Liy4Lif4LmB4LiV4LmI4Lil4Liw4LmB4LiX4LmI4LiHCiAgICB9CiAgICAKICAgIHJldHVybiAwOwp9