結果

問題 No.3020 サンシャイン◯崎
ユーザー curryudon08curryudon08
提出日時 2020-03-05 22:17:57
言語 C#(csc)
(csc 3.9.0)
結果
AC  
実行時間 32 ms / 1,000 ms
コード長 404 bytes
コンパイル時間 877 ms
コンパイル使用メモリ 112,056 KB
実行使用メモリ 27,020 KB
最終ジャッジ日時 2024-04-22 03:18:41
合計ジャッジ時間 2,377 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 24 ms
25,120 KB
testcase_01 AC 24 ms
23,224 KB
testcase_02 AC 24 ms
24,740 KB
testcase_03 AC 26 ms
25,128 KB
testcase_04 AC 25 ms
26,888 KB
testcase_05 AC 32 ms
25,036 KB
testcase_06 AC 26 ms
27,020 KB
testcase_07 AC 26 ms
24,744 KB
testcase_08 AC 28 ms
24,852 KB
testcase_09 AC 28 ms
25,100 KB
testcase_10 AC 31 ms
25,040 KB
testcase_11 AC 29 ms
25,040 KB
testcase_12 AC 31 ms
25,300 KB
testcase_13 AC 32 ms
24,928 KB
testcase_14 AC 31 ms
25,044 KB
testcase_15 AC 32 ms
25,036 KB
testcase_16 AC 31 ms
25,172 KB
testcase_17 AC 32 ms
24,916 KB
testcase_18 AC 32 ms
25,036 KB
testcase_19 AC 30 ms
25,168 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;

namespace _3020
{
    class Program
    {
        static void Main(string[] args)
        {
            var s = Console.ReadLine().Trim();
            var o = "YEAH!".ToCharArray().Select(c => s.Count(i => i == c)).ToArray();
            Console.WriteLine(o.Select(i => i.ToString()).Aggregate((a,b) => a + " " + b));
        }
    }
}
0