結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー くれちーくれちー
提出日時 2016-12-26 22:11:28
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 64 ms / 5,000 ms
コード長 278 bytes
コンパイル時間 1,976 ms
コンパイル使用メモリ 99,632 KB
実行使用メモリ 23,372 KB
最終ジャッジ日時 2023-09-29 22:35:04
合計ジャッジ時間 4,861 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
21,256 KB
testcase_01 AC 62 ms
19,220 KB
testcase_02 AC 62 ms
21,160 KB
testcase_03 AC 63 ms
21,184 KB
testcase_04 AC 62 ms
21,304 KB
testcase_05 AC 62 ms
23,300 KB
testcase_06 AC 62 ms
23,320 KB
testcase_07 AC 62 ms
21,228 KB
testcase_08 AC 62 ms
21,196 KB
testcase_09 AC 64 ms
21,180 KB
testcase_10 AC 62 ms
21,308 KB
testcase_11 AC 62 ms
21,172 KB
testcase_12 AC 62 ms
21,264 KB
testcase_13 AC 62 ms
21,200 KB
testcase_14 AC 61 ms
21,124 KB
testcase_15 AC 62 ms
21,244 KB
testcase_16 AC 61 ms
21,364 KB
testcase_17 AC 62 ms
21,212 KB
testcase_18 AC 61 ms
21,240 KB
testcase_19 AC 61 ms
19,108 KB
testcase_20 AC 62 ms
21,116 KB
testcase_21 AC 63 ms
19,268 KB
testcase_22 AC 62 ms
23,296 KB
testcase_23 AC 61 ms
21,156 KB
testcase_24 AC 62 ms
21,188 KB
testcase_25 AC 62 ms
23,372 KB
testcase_26 AC 61 ms
23,320 KB
testcase_27 AC 62 ms
21,160 KB
testcase_28 AC 62 ms
21,312 KB
testcase_29 AC 62 ms
19,276 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:0.0000000000}", s);
    }
}
0