結果

問題 No.83 最大マッチング
ユーザー bluemeganebluemegane
提出日時 2018-09-27 20:16:59
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 227 bytes
コンパイル時間 1,980 ms
コンパイル使用メモリ 99,828 KB
実行使用メモリ 22,792 KB
最終ジャッジ日時 2023-08-02 09:44:54
合計ジャッジ時間 3,463 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
20,664 KB
testcase_01 WA -
testcase_02 AC 54 ms
20,596 KB
testcase_03 WA -
testcase_04 AC 54 ms
20,836 KB
testcase_05 WA -
testcase_06 AC 53 ms
22,652 KB
testcase_07 WA -
testcase_08 AC 53 ms
20,616 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 54 ms
22,776 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

public class Hello
{
    public static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        var a = new string('1', n / 2);
        Console.WriteLine(n % 2 == 0 ? a : "7" + a);
    }
}
0