結果
| 問題 | 
                            No.1642 Registration
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-07-29 10:29:52 | 
| 言語 | C#  (.NET 8.0.404)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 434 bytes | 
| コンパイル時間 | 14,482 ms | 
| コンパイル使用メモリ | 166,796 KB | 
| 実行使用メモリ | 180,252 KB | 
| 最終ジャッジ日時 | 2024-07-19 02:05:21 | 
| 合計ジャッジ時間 | 15,810 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 5 WA * 1 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.csproj を復元しました (101 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
    static void Main()
    {
        var inp = Console.ReadLine();
        if (inp.Length == 1)
        {
            Console.WriteLine(inp.PadLeft(3, '0'));
        }
        else if (inp.Length == 2)
        {
            Console.WriteLine(inp.PadLeft(1, '0'));
        }
        else
        {
            Console.WriteLine(inp);
        }
    }
}