結果

問題 No.646 逆ピラミッド
ユーザー CroweaCrowea
提出日時 2019-01-22 14:47:51
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 363 bytes
コンパイル時間 1,280 ms
コンパイル使用メモリ 65,292 KB
実行使用メモリ 22,692 KB
最終ジャッジ日時 2023-10-13 17:41:04
合計ジャッジ時間 2,503 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 47 ms
20,640 KB
testcase_01 AC 54 ms
20,660 KB
testcase_02 AC 47 ms
20,640 KB
testcase_03 AC 52 ms
22,636 KB
testcase_04 AC 47 ms
18,636 KB
testcase_05 AC 47 ms
20,788 KB
testcase_06 AC 54 ms
22,692 KB
testcase_07 AC 47 ms
20,660 KB
testcase_08 AC 47 ms
20,696 KB
testcase_09 AC 48 ms
22,688 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

class Program
{
    static void Main(string[] args)
    {
        var putStr = Console.ReadLine();
        int n = int.Parse(putStr);

        for (int i = n; i > 0; i--)
        {
            for (int j = i; j > 0; j--)
            {
                Console.Write(putStr);
            }
            Console.WriteLine();
        }        
    }
}

0