結果

問題 No.81 すべて足すだけの簡単なお仕事です。
ユーザー bluemeganebluemegane
提出日時 2020-09-07 14:52:48
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 321 bytes
コンパイル時間 803 ms
コンパイル使用メモリ 60,944 KB
実行使用メモリ 25,080 KB
最終ジャッジ日時 2023-08-19 16:47:54
合計ジャッジ時間 4,467 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 58 ms
20,820 KB
testcase_04 WA -
testcase_05 AC 58 ms
20,840 KB
testcase_06 AC 58 ms
20,708 KB
testcase_07 AC 63 ms
20,800 KB
testcase_08 AC 57 ms
20,772 KB
testcase_09 AC 58 ms
22,696 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
権限があれば一括ダウンロードができます

ソースコード

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(ans);
    }
}
0