結果

問題 No.646 逆ピラミッド
ユーザー kuroi_13kuroi_13
提出日時 2018-04-20 13:56:47
言語 Perl
(5.38.2)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 5,076 KB
最終ジャッジ日時 2023-09-09 11:58:49
合計ジャッジ時間 903 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

use strict;
use warnings;

<> =~ /(\d+)/;

for(reverse (1..$1)){
  print $1 x $_, "\n";
}
0