結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー bluemeganebluemegane
提出日時 2020-09-07 14:56:19
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 341 bytes
コンパイル時間 794 ms
コンパイル使用メモリ 65,240 KB
実行使用メモリ 23,336 KB
最終ジャッジ日時 2023-09-29 22:55:30
合計ジャッジ時間 4,083 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
19,196 KB
testcase_01 AC 67 ms
23,180 KB
testcase_02 AC 67 ms
23,252 KB
testcase_03 AC 67 ms
21,308 KB
testcase_04 AC 66 ms
21,160 KB
testcase_05 AC 66 ms
21,144 KB
testcase_06 AC 66 ms
21,164 KB
testcase_07 AC 67 ms
19,192 KB
testcase_08 AC 67 ms
23,336 KB
testcase_09 AC 68 ms
23,264 KB
testcase_10 AC 67 ms
21,340 KB
testcase_11 AC 66 ms
23,252 KB
testcase_12 AC 66 ms
21,204 KB
testcase_13 AC 65 ms
21,200 KB
testcase_14 AC 66 ms
23,324 KB
testcase_15 AC 66 ms
23,228 KB
testcase_16 AC 66 ms
21,156 KB
testcase_17 AC 66 ms
21,216 KB
testcase_18 AC 67 ms
23,192 KB
testcase_19 AC 66 ms
21,192 KB
testcase_20 AC 67 ms
21,248 KB
testcase_21 AC 66 ms
21,212 KB
testcase_22 AC 67 ms
21,292 KB
testcase_23 AC 66 ms
23,132 KB
testcase_24 AC 67 ms
21,164 KB
testcase_25 AC 66 ms
23,268 KB
testcase_26 AC 67 ms
21,232 KB
testcase_27 AC 67 ms
23,248 KB
testcase_28 AC 66 ms
21,208 KB
testcase_29 AC 66 ms
21,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

using System;

public class Hello
{
    static void Main()
    {
        var ans = 0m;
        var n = int.Parse(Console.ReadLine().Trim());
        for (int i = 0; i < n; i++)
        {
            var t = decimal.Parse(Console.ReadLine().Trim());
            ans += t;
        }
        Console.WriteLine("{0:0.0000000000}", ans);
    }
}
0