結果

問題 No.1264 010
ユーザー bluemeganebluemegane
提出日時 2020-10-23 22:36:58
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 58 ms / 1,000 ms
コード長 302 bytes
コンパイル時間 1,404 ms
コンパイル使用メモリ 67,424 KB
実行使用メモリ 22,768 KB
最終ジャッジ日時 2023-09-28 16:44:06
合計ジャッジ時間 3,018 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 57 ms
20,784 KB
testcase_01 AC 58 ms
20,788 KB
testcase_02 AC 55 ms
22,768 KB
testcase_03 AC 56 ms
20,720 KB
testcase_04 AC 56 ms
20,896 KB
testcase_05 AC 55 ms
20,752 KB
testcase_06 AC 56 ms
20,788 KB
testcase_07 AC 56 ms
22,748 KB
testcase_08 AC 56 ms
20,632 KB
testcase_09 AC 55 ms
20,788 KB
testcase_10 AC 56 ms
20,712 KB
testcase_11 AC 56 ms
22,756 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        getAns(n);
    }
    static void getAns (int n)
    {
        if (n == 0) { Console.WriteLine(1); return; }
        Console.WriteLine("010" + new string('0', n - 1));
    }
}
0