結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー ixTL255ixTL255
提出日時 2018-07-09 21:14:53
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 209 ms / 2,000 ms
コード長 255 bytes
コンパイル時間 2,387 ms
コンパイル使用メモリ 99,944 KB
実行使用メモリ 51,340 KB
最終ジャッジ日時 2023-09-23 03:07:43
合計ジャッジ時間 5,458 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
19,680 KB
testcase_01 AC 61 ms
21,660 KB
testcase_02 AC 61 ms
21,788 KB
testcase_03 AC 61 ms
21,688 KB
testcase_04 AC 61 ms
21,796 KB
testcase_05 AC 62 ms
21,800 KB
testcase_06 AC 69 ms
21,984 KB
testcase_07 AC 73 ms
24,860 KB
testcase_08 AC 92 ms
29,804 KB
testcase_09 AC 98 ms
30,224 KB
testcase_10 AC 179 ms
48,164 KB
testcase_11 AC 183 ms
50,876 KB
testcase_12 AC 185 ms
49,568 KB
testcase_13 AC 189 ms
49,956 KB
testcase_14 AC 191 ms
50,212 KB
testcase_15 AC 194 ms
50,964 KB
testcase_16 AC 209 ms
51,340 KB
testcase_17 AC 61 ms
21,740 KB
testcase_18 AC 60 ms
21,900 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;

public class Yuki9001
{
	public static void Main()
	{
		Console.ReadLine();
		var a = Console.ReadLine().Split(' ').Select(x => long.Parse(x)).ToList();
		Console.WriteLine(a.Sum());
	}
}
0