結果

問題 No.756 チャンパーノウン定数 (1)
ユーザー curryudon08curryudon08
提出日時 2020-06-16 13:53:08
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 322 bytes
コンパイル時間 1,970 ms
コンパイル使用メモリ 103,472 KB
実行使用メモリ 23,828 KB
最終ジャッジ日時 2023-09-16 10:58:05
合計ジャッジ時間 4,350 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
21,868 KB
testcase_01 AC 58 ms
21,744 KB
testcase_02 AC 58 ms
21,916 KB
testcase_03 AC 58 ms
21,732 KB
testcase_04 AC 57 ms
21,776 KB
testcase_05 AC 57 ms
21,912 KB
testcase_06 AC 58 ms
21,968 KB
testcase_07 AC 57 ms
21,812 KB
testcase_08 AC 58 ms
21,820 KB
testcase_09 AC 58 ms
21,780 KB
testcase_10 AC 58 ms
21,816 KB
testcase_11 AC 58 ms
21,784 KB
testcase_12 AC 58 ms
23,828 KB
testcase_13 AC 57 ms
21,780 KB
testcase_14 AC 57 ms
19,700 KB
testcase_15 AC 59 ms
23,808 KB
testcase_16 AC 59 ms
21,852 KB
testcase_17 AC 58 ms
21,744 KB
testcase_18 AC 58 ms
23,796 KB
testcase_19 AC 57 ms
21,736 KB
testcase_20 AC 57 ms
21,788 KB
testcase_21 AC 58 ms
21,920 KB
testcase_22 AC 58 ms
21,772 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

namespace _0756
{
    class Program
    {
        static void Main(string[] args)
        {
            var c = string.Join("",Enumerable.Range(1,100).Select(x => x.ToString()));

            var n = int.Parse(Console.ReadLine());
            Console.WriteLine(c[n-1]);
        }
    }
}
0