結果

問題 No.796 well known
ユーザー MaboyMaboy
提出日時 2021-06-23 17:39:15
言語 Swift
(5.10.0)
結果
AC  
実行時間 23 ms / 2,000 ms
コード長 122 bytes
コンパイル時間 7,798 ms
コンパイル使用メモリ 126,320 KB
実行使用メモリ 9,576 KB
最終ジャッジ日時 2023-09-06 23:49:55
合計ジャッジ時間 10,010 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,748 KB
testcase_01 AC 3 ms
7,864 KB
testcase_02 AC 3 ms
7,836 KB
testcase_03 AC 3 ms
7,840 KB
testcase_04 AC 19 ms
9,052 KB
testcase_05 AC 20 ms
9,148 KB
testcase_06 AC 23 ms
9,576 KB
testcase_07 AC 7 ms
8,104 KB
testcase_08 AC 20 ms
9,232 KB
testcase_09 AC 14 ms
8,528 KB
testcase_10 AC 23 ms
9,504 KB
testcase_11 AC 6 ms
8,040 KB
testcase_12 AC 12 ms
8,480 KB
testcase_13 AC 18 ms
9,128 KB
testcase_14 AC 10 ms
8,168 KB
testcase_15 AC 13 ms
8,364 KB
testcase_16 AC 23 ms
9,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

let n = Int(readLine()!)!
var l = [1] + [Int](repeating: 3, count: n - 1)
print(l.map{String($0)}.joined(separator: " "))
0