結果

問題 No.964 2020
ユーザー ynishi2015ynishi2015
提出日時 2020-02-24 16:42:31
言語 PHP
(8.3.4)
結果
AC  
実行時間 41 ms / 2,020 ms
コード長 145 bytes
コンパイル時間 2,950 ms
コンパイル使用メモリ 32,016 KB
実行使用メモリ 32,400 KB
最終ジャッジ日時 2024-04-20 09:53:24
合計ジャッジ時間 1,264 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
32,344 KB
testcase_01 AC 35 ms
32,400 KB
testcase_02 AC 35 ms
32,272 KB
testcase_03 AC 36 ms
32,272 KB
testcase_04 AC 37 ms
32,276 KB
testcase_05 AC 35 ms
32,272 KB
testcase_06 AC 38 ms
32,212 KB
testcase_07 AC 41 ms
32,400 KB
testcase_08 AC 37 ms
32,216 KB
testcase_09 AC 36 ms
32,400 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
No syntax errors detected in Main.php

ソースコード

diff #

<?php
$a = intval(fgets(STDIN));
if($a==1){
  echo 1,"\n";exit;
}
for($j = $a-1; $j >= 0; $j--)
for($i = $a-1; $i >= 0; $i--)
echo $j;
echo "\n";
0