結果

問題 No.83 最大マッチング
ユーザー zmirezzmirez
提出日時 2018-08-26 14:12:02
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 2,776 ms
コンパイル使用メモリ 99,492 KB
実行使用メモリ 22,808 KB
最終ジャッジ日時 2023-09-13 19:17:20
合計ジャッジ時間 4,271 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

using System;
class Program{
    static void Main(string[]args){
        int N=int.Parse(Console.ReadLine());
        if(N==3){
            Console.WriteLine(7);
        }else{
            for(int i=0;i<N/2;i++){
                Console.Write("1");
            }
            Console.WriteLine();
        }
    }
}
0