結果

問題 No.646 逆ピラミッド
ユーザー kryu_______2740kryu_______2740
提出日時 2018-02-17 23:35:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 14 ms / 2,000 ms
コード長 215 bytes
コンパイル時間 125 ms
コンパイル使用メモリ 10,624 KB
実行使用メモリ 8,420 KB
最終ジャッジ日時 2023-09-06 17:58:00
合計ジャッジ時間 945 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
7,776 KB
testcase_01 AC 14 ms
8,348 KB
testcase_02 AC 12 ms
7,860 KB
testcase_03 AC 14 ms
8,260 KB
testcase_04 AC 13 ms
7,944 KB
testcase_05 AC 12 ms
7,920 KB
testcase_06 AC 14 ms
8,420 KB
testcase_07 AC 12 ms
7,888 KB
testcase_08 AC 13 ms
7,812 KB
testcase_09 AC 13 ms
7,780 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#Piramiddo of number

N = input()
N = int(N)

if N>=1:
    
    for j in range(1,N+1):
        for i in range(1,abs(j-N-1)):
            print(N,end="")
        print(N)
else:
    print("Dont input minus number")


0