結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー mencottonmencotton
提出日時 2017-12-23 22:28:05
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 201 ms / 2,000 ms
コード長 381 bytes
コンパイル時間 2,117 ms
コンパイル使用メモリ 105,524 KB
実行使用メモリ 51,288 KB
最終ジャッジ日時 2023-08-22 16:37:25
合計ジャッジ時間 5,628 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
19,700 KB
testcase_01 AC 59 ms
21,924 KB
testcase_02 AC 59 ms
21,788 KB
testcase_03 AC 58 ms
19,764 KB
testcase_04 AC 60 ms
23,920 KB
testcase_05 AC 59 ms
21,908 KB
testcase_06 AC 66 ms
21,940 KB
testcase_07 AC 71 ms
25,012 KB
testcase_08 AC 94 ms
27,892 KB
testcase_09 AC 97 ms
28,356 KB
testcase_10 AC 175 ms
50,460 KB
testcase_11 AC 178 ms
48,848 KB
testcase_12 AC 181 ms
51,288 KB
testcase_13 AC 183 ms
49,832 KB
testcase_14 AC 184 ms
50,508 KB
testcase_15 AC 186 ms
50,960 KB
testcase_16 AC 201 ms
49,372 KB
testcase_17 AC 58 ms
19,872 KB
testcase_18 AC 59 ms
23,836 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.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace template
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.ReadLine();
            long[] x = Console.ReadLine().Split().Select(long.Parse).ToArray();
            Console.WriteLine(x.Sum());
        }
    }
}
0