結果

問題 No.796 well known
ユーザー finefine
提出日時 2019-03-15 21:23:28
言語 Ruby
(3.3.0)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 48 bytes
コンパイル時間 73 ms
コンパイル使用メモリ 11,376 KB
実行使用メモリ 16,876 KB
最終ジャッジ日時 2023-09-14 12:48:07
合計ジャッジ時間 3,161 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,140 KB
testcase_01 AC 84 ms
15,220 KB
testcase_02 AC 83 ms
15,152 KB
testcase_03 AC 83 ms
15,084 KB
testcase_04 AC 116 ms
16,200 KB
testcase_05 AC 116 ms
16,608 KB
testcase_06 AC 119 ms
16,876 KB
testcase_07 AC 90 ms
15,752 KB
testcase_08 AC 114 ms
16,460 KB
testcase_09 AC 103 ms
15,860 KB
testcase_10 AC 121 ms
16,724 KB
testcase_11 AC 88 ms
15,480 KB
testcase_12 AC 101 ms
15,908 KB
testcase_13 AC 113 ms
16,104 KB
testcase_14 AC 98 ms
15,652 KB
testcase_15 AC 100 ms
15,940 KB
testcase_16 AC 122 ms
16,620 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i
puts ([1] + [3] * (n-1)).join(' ')
0