結果

問題 No.1291 小手調べ
ユーザー bluemeganebluemegane
提出日時 2020-11-20 22:36:53
言語 C#(mono)
(mono 6.12.0.158)
結果
AC  
実行時間 55 ms / 2,000 ms
コード長 426 bytes
コンパイル時間 935 ms
実行使用メモリ 14,828 KB
最終ジャッジ日時 2023-02-23 19:07:54
合計ジャッジ時間 2,088 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 54 ms
14,704 KB
testcase_01 AC 55 ms
14,828 KB
testcase_02 AC 55 ms
14,744 KB
testcase_03 AC 54 ms
14,800 KB
testcase_04 AC 53 ms
14,716 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine().Trim());
        for (int i = 0; i < n; i++)
        {
            var d = int.Parse(Console.ReadLine().Trim());
            if (d == 1) Console.WriteLine(10);
            else
            {
                Console.Write(9);
                Console.WriteLine(new string('0', d - 1));
            }
        }
    }
}
0