結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー くれちーくれちー
提出日時 2017-03-25 18:41:12
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 209 ms / 2,000 ms
コード長 233 bytes
コンパイル時間 2,087 ms
コンパイル使用メモリ 102,648 KB
実行使用メモリ 49,720 KB
最終ジャッジ日時 2023-09-20 10:39:00
合計ジャッジ時間 5,400 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,820 KB
testcase_01 AC 60 ms
19,780 KB
testcase_02 AC 61 ms
21,768 KB
testcase_03 AC 60 ms
19,812 KB
testcase_04 AC 61 ms
21,840 KB
testcase_05 AC 62 ms
21,924 KB
testcase_06 AC 71 ms
22,076 KB
testcase_07 AC 74 ms
22,984 KB
testcase_08 AC 95 ms
27,392 KB
testcase_09 AC 101 ms
29,552 KB
testcase_10 AC 174 ms
45,872 KB
testcase_11 AC 176 ms
44,076 KB
testcase_12 AC 177 ms
46,284 KB
testcase_13 AC 180 ms
44,500 KB
testcase_14 AC 182 ms
46,704 KB
testcase_15 AC 186 ms
46,844 KB
testcase_16 AC 209 ms
49,720 KB
testcase_17 AC 62 ms
23,780 KB
testcase_18 AC 60 ms
21,808 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc)
Copyright (C) Microsoft Corporation. All rights reserved.

ソースコード

diff #

using System;
using System.Linq;

class Program
{
    static void Main()
    {
        var n = int.Parse(Console.ReadLine());
        var a = Console.ReadLine().Split().Select(long.Parse);

        Console.WriteLine(a.Sum());
    }
}
0