結果

問題 No.646 逆ピラミッド
ユーザー dyechidyechi
提出日時 2019-03-29 10:37:27
言語 PHP
(8.3.4)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 109 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 30,884 KB
実行使用メモリ 30,864 KB
最終ジャッジ日時 2024-04-24 15:14:54
合計ジャッジ時間 1,113 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
30,336 KB
testcase_01 AC 41 ms
30,648 KB
testcase_02 AC 41 ms
30,676 KB
testcase_03 AC 41 ms
30,360 KB
testcase_04 AC 40 ms
30,440 KB
testcase_05 AC 41 ms
30,696 KB
testcase_06 AC 41 ms
30,556 KB
testcase_07 AC 39 ms
30,716 KB
testcase_08 AC 41 ms
30,532 KB
testcase_09 AC 40 ms
30,864 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$s = trim(fgets(STDIN));

for ($i=$s; $i>0; $i--) {
    echo str_repeat($s, $i);
    echo PHP_EOL;
}
?>
0