結果

問題 No.796 well known
ユーザー yurarayurara
提出日時 2019-04-09 23:12:14
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 79 ms / 2,000 ms
コード長 381 bytes
コンパイル時間 1,954 ms
コンパイル使用メモリ 105,920 KB
実行使用メモリ 28,500 KB
最終ジャッジ日時 2023-09-18 15:00:52
合計ジャッジ時間 4,335 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 62 ms
21,728 KB
testcase_01 AC 63 ms
23,844 KB
testcase_02 AC 62 ms
21,748 KB
testcase_03 AC 62 ms
21,824 KB
testcase_04 AC 74 ms
25,656 KB
testcase_05 AC 74 ms
23,972 KB
testcase_06 AC 78 ms
24,364 KB
testcase_07 AC 66 ms
22,012 KB
testcase_08 AC 75 ms
23,800 KB
testcase_09 AC 70 ms
24,896 KB
testcase_10 AC 79 ms
26,384 KB
testcase_11 AC 64 ms
21,712 KB
testcase_12 AC 69 ms
22,604 KB
testcase_13 AC 73 ms
23,520 KB
testcase_14 AC 67 ms
22,312 KB
testcase_15 AC 71 ms
24,700 KB
testcase_16 AC 78 ms
28,500 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Collections.Generic;
using System.Linq;

public class Program
{
    public static void Main()
    {
        var n = int.Parse(Console.ReadLine());
        var outputs = new List<int>();
        outputs.AddRange(Enumerable.Repeat(3, n - 1).ToList());
        outputs.Add(1);
        Console.Write("{0}", string.Join(' ', outputs));
        return;
    }
}
0