結果

問題 No.646 逆ピラミッド
ユーザー mondomondo
提出日時 2019-08-01 10:47:31
言語 PHP
(8.3.4)
結果
WA  
実行時間 -
コード長 169 bytes
コンパイル時間 508 ms
コンパイル使用メモリ 12,064 KB
実行使用メモリ 12,336 KB
最終ジャッジ日時 2023-09-18 17:18:17
合計ジャッジ時間 1,398 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 7 ms
12,292 KB
testcase_09 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$number = trim(fgets(STDIN));
$line = array();
for ($i = 1; $i <=$number ; $i++) {
     $line[] = str_repeat($number, $i);
}
sort($line);
echo implode("\n",$line);
0