結果

問題 No.646 逆ピラミッド
ユーザー 👑 hos.lyrichos.lyric
提出日時 2020-04-05 00:59:19
言語 Ruby
(3.3.0)
結果
AC  
実行時間 94 ms / 2,000 ms
コード長 51 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 11,532 KB
実行使用メモリ 15,360 KB
最終ジャッジ日時 2023-09-16 06:19:22
合計ジャッジ時間 1,714 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,188 KB
testcase_01 AC 94 ms
15,332 KB
testcase_02 AC 81 ms
15,328 KB
testcase_03 AC 87 ms
15,176 KB
testcase_04 AC 85 ms
15,360 KB
testcase_05 AC 86 ms
15,160 KB
testcase_06 AC 85 ms
15,184 KB
testcase_07 AC 83 ms
15,008 KB
testcase_08 AC 83 ms
15,100 KB
testcase_09 AC 82 ms
15,280 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n=gets.to_i;n.downto(1){|k|puts (1..k).map{n}.join}
0