結果

問題 No.784 「,(カンマ)」
ユーザー NoNo
提出日時 2020-11-01 06:45:47
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 253 bytes
コンパイル時間 1,926 ms
コンパイル使用メモリ 100,268 KB
実行使用メモリ 23,208 KB
最終ジャッジ日時 2023-09-29 11:06:46
合計ジャッジ時間 3,762 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,108 KB
testcase_01 AC 60 ms
20,976 KB
testcase_02 AC 61 ms
21,124 KB
testcase_03 AC 61 ms
22,968 KB
testcase_04 AC 61 ms
21,168 KB
testcase_05 AC 60 ms
18,956 KB
testcase_06 AC 61 ms
21,176 KB
testcase_07 AC 62 ms
20,984 KB
testcase_08 AC 61 ms
23,208 KB
testcase_09 AC 61 ms
23,056 KB
testcase_10 AC 61 ms
21,100 KB
testcase_11 AC 60 ms
21,180 KB
testcase_12 AC 61 ms
21,140 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

namespace y
{
    class y
    {
        static void Main(string[] args)
        {
            var s = Console.ReadLine();
            string a = (String.Format("{0:#,0}", int.Parse(s)));
            Console.WriteLine(a);
        }
    }
}
0