結果

問題 No.646 逆ピラミッド
ユーザー motimoti
提出日時 2018-05-17 23:10:52
言語 Perl
(5.38.2)
結果
AC  
実行時間 6 ms / 2,000 ms
コード長 164 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 5,048 KB
最終ジャッジ日時 2023-09-10 22:43:13
合計ジャッジ時間 1,039 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,784 KB
testcase_01 AC 5 ms
4,768 KB
testcase_02 AC 5 ms
4,864 KB
testcase_03 AC 6 ms
4,768 KB
testcase_04 AC 5 ms
4,900 KB
testcase_05 AC 5 ms
4,956 KB
testcase_06 AC 5 ms
4,780 KB
testcase_07 AC 6 ms
5,048 KB
testcase_08 AC 4 ms
5,020 KB
testcase_09 AC 5 ms
4,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

#!/usr/bin/env perl

use strict;
use utf8;
use warnings;

my $n = <>;
chomp $n;
for (my $i = $n; $i > 0; $i--) {
  for (1...$i) {
    print $n;
  }
  print "\n";
}
0