結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー p_nixp_nix
提出日時 2022-01-24 23:38:04
言語 C#(csc)
(csc 3.9.0)
結果
RE  
実行時間 -
コード長 232 bytes
コンパイル時間 4,159 ms
コンパイル使用メモリ 104,960 KB
実行使用メモリ 51,168 KB
最終ジャッジ日時 2023-08-21 14:53:33
合計ジャッジ時間 5,258 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 61 ms
21,888 KB
testcase_01 AC 62 ms
23,804 KB
testcase_02 AC 62 ms
21,928 KB
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 AC 100 ms
27,996 KB
testcase_10 AC 178 ms
46,716 KB
testcase_11 AC 182 ms
49,432 KB
testcase_12 AC 185 ms
49,852 KB
testcase_13 AC 191 ms
48,600 KB
testcase_14 AC 190 ms
48,576 KB
testcase_15 AC 193 ms
51,168 KB
testcase_16 AC 206 ms
51,100 KB
testcase_17 AC 61 ms
21,840 KB
testcase_18 RE -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 = Console.ReadLine();
        int[] v = Console.ReadLine().Split().Select(int.Parse).ToArray();
        Console.WriteLine(v.Sum());
    }
}
0