Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
3
Help us understand the problem. What is going on with this article?
@ta-k

forループの練習問題(数字でピラミッドを作る)  上級編

More than 3 years have passed since last update.

はじめに

この練習問題は下記記事の続編として作成しました。
そのため、やや難しい問題となっております。
初級・中級編を解いた後にやってみると問題にスムーズに入れると思います。

初級・中級編
http://qiita.com/takuya-kodama/items/32edabf2c27c4b4690a0

練習問題

ではさっそく練習問題にチャレンジしてみましょう!
問題は全部で6問あります。

問題1
321
21
1

問題2
123
*12
**1

問題3
6
54
321

問題4
1234321
*12321
**121
***1

問題5
****1
***121
**12321
*1234321
123454321
*1234321
**12321
***121
****1

問題6
****5
***545
**54345
*5432345
543212345

解答

解答は下記のリンクに載せております。
http://qiita.com/takuya-kodama/items/926f280b2119486ebce4

3
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ta-k

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
3
Help us understand the problem. What is going on with this article?