結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー p_nixp_nix
提出日時 2022-01-24 23:41:01
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 196 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 2,452 ms
コンパイル使用メモリ 103,324 KB
実行使用メモリ 51,900 KB
最終ジャッジ日時 2023-08-21 14:56:30
合計ジャッジ時間 5,053 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 59 ms
21,820 KB
testcase_01 AC 60 ms
21,884 KB
testcase_02 AC 59 ms
21,912 KB
testcase_03 AC 60 ms
23,820 KB
testcase_04 AC 60 ms
21,752 KB
testcase_05 AC 60 ms
21,772 KB
testcase_06 AC 68 ms
22,008 KB
testcase_07 AC 71 ms
22,972 KB
testcase_08 AC 90 ms
27,832 KB
testcase_09 AC 96 ms
28,468 KB
testcase_10 AC 171 ms
46,280 KB
testcase_11 AC 175 ms
46,776 KB
testcase_12 AC 178 ms
51,380 KB
testcase_13 AC 180 ms
51,900 KB
testcase_14 AC 180 ms
48,260 KB
testcase_15 AC 185 ms
50,940 KB
testcase_16 AC 196 ms
51,420 KB
testcase_17 AC 60 ms
23,748 KB
testcase_18 AC 60 ms
21,796 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 = Console.ReadLine();
        long[] v = Console.ReadLine().Split(' ').Select(long.Parse).ToArray();
        Console.WriteLine(v.Sum());
    }
}
0