結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー くれちーくれちー
提出日時 2016-12-26 22:10:32
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 277 bytes
コンパイル時間 3,472 ms
コンパイル使用メモリ 101,956 KB
実行使用メモリ 23,324 KB
最終ジャッジ日時 2023-08-21 13:09:48
合計ジャッジ時間 5,216 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
23,308 KB
testcase_01 AC 64 ms
21,168 KB
testcase_02 AC 63 ms
19,180 KB
testcase_03 AC 65 ms
23,260 KB
testcase_04 AC 63 ms
23,312 KB
testcase_05 AC 64 ms
23,232 KB
testcase_06 AC 63 ms
21,156 KB
testcase_07 AC 65 ms
21,360 KB
testcase_08 AC 63 ms
21,248 KB
testcase_09 AC 63 ms
23,240 KB
testcase_10 WA -
testcase_11 AC 64 ms
21,316 KB
testcase_12 AC 64 ms
21,204 KB
testcase_13 AC 63 ms
21,292 KB
testcase_14 AC 64 ms
23,324 KB
testcase_15 AC 64 ms
23,312 KB
testcase_16 AC 65 ms
21,260 KB
testcase_17 WA -
testcase_18 AC 63 ms
21,376 KB
testcase_19 AC 63 ms
21,300 KB
testcase_20 AC 63 ms
21,348 KB
testcase_21 AC 63 ms
19,252 KB
testcase_22 AC 63 ms
21,180 KB
testcase_23 AC 64 ms
21,204 KB
testcase_24 AC 64 ms
21,320 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 63 ms
21,268 KB
testcase_29 AC 63 ms
21,268 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;

class Program
{
    static void Main()
    {
        int n = int.Parse(Console.ReadLine());
        decimal s = 0m;

        for (int i = 0; i < n; i++)
            s += decimal.Parse(Console.ReadLine());

        Console.WriteLine("{0:.0000000000}", s);
    }
}
0