結果

問題 No.353 ヘイトプラス
ユーザー NoNo
提出日時 2016-06-08 19:06:12
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 61 ms / 1,000 ms
コード長 558 bytes
コンパイル時間 2,069 ms
コンパイル使用メモリ 104,560 KB
実行使用メモリ 23,688 KB
最終ジャッジ日時 2023-09-12 00:44:53
合計ジャッジ時間 3,487 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
21,544 KB
testcase_01 AC 59 ms
21,512 KB
testcase_02 AC 60 ms
23,552 KB
testcase_03 AC 61 ms
21,524 KB
testcase_04 AC 59 ms
21,520 KB
testcase_05 AC 60 ms
23,688 KB
testcase_06 AC 60 ms
21,520 KB
testcase_07 AC 60 ms
21,708 KB
testcase_08 AC 60 ms
23,624 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 yukikoda
{
    class Program
    {
        static void Main(string[] args)
        {
            var a = ConvertStringArrayToIntList(Console.ReadLine().Split());
            Console.WriteLine(a.Sum());
        }

        static List<int> ConvertStringArrayToIntList(string[] str)
        {
            var list = new List<int>();
            foreach (var c in str) list.Add(int.Parse(c));
            return list;
        }
    }
}
0