結果
| 問題 | 
                            No.5000 特殊ジャッジテスト(テスト用)
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2020-01-03 09:05:09 | 
| 言語 | C#(csc)  (csc 3.9.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 462 bytes | 
| コンパイル時間 | 780 ms | 
| 実行使用メモリ | 17,456 KB | 
| スコア | 0 | 
| 最終ジャッジ日時 | 2020-01-03 09:05:12 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge8 / | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 2 RE * 2 | 
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.4.0-beta4-19569-03 (82f2e254) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
class Program {
    static void Main(string[] args) {
        if (!int.TryParse(Console.ReadLine(), out var input))
            return;
        
        string output;
        if (input < 2) {
            output = "0";
        }
        if (input % 2 == 0) {
            output = new string('1', input / 2);
        }
        else {
            output = "7" + new string('1', (input - 3) / 2);
        }
        Console.WriteLine(output);
    }
}