結果

問題 No.796 well known
ユーザー YamaKasaYamaKasa
提出日時 2019-03-15 22:40:32
言語 Ruby
(3.3.0)
結果
AC  
実行時間 117 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 11,192 KB
実行使用メモリ 15,448 KB
最終ジャッジ日時 2023-09-14 13:53:27
合計ジャッジ時間 3,138 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,032 KB
testcase_01 AC 80 ms
15,036 KB
testcase_02 AC 80 ms
15,236 KB
testcase_03 AC 79 ms
15,028 KB
testcase_04 AC 107 ms
15,444 KB
testcase_05 AC 109 ms
15,228 KB
testcase_06 AC 117 ms
15,200 KB
testcase_07 AC 87 ms
15,088 KB
testcase_08 AC 110 ms
15,256 KB
testcase_09 AC 99 ms
15,148 KB
testcase_10 AC 117 ms
15,220 KB
testcase_11 AC 87 ms
15,360 KB
testcase_12 AC 95 ms
15,184 KB
testcase_13 AC 107 ms
15,256 KB
testcase_14 AC 93 ms
15,140 KB
testcase_15 AC 98 ms
15,340 KB
testcase_16 AC 117 ms
15,448 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.chop.to_i
print "1 "
for i in 1..N-1
  if i == N - 1
    puts "3"
  else
    print "3 "
  end
end
0