結果

問題 No.712 赤旗
ユーザー NoNo
提出日時 2018-07-13 22:23:24
言語 C#(csc)
(csc 3.9.0)
結果
WA  
実行時間 -
コード長 414 bytes
コンパイル時間 4,088 ms
コンパイル使用メモリ 105,872 KB
実行使用メモリ 23,492 KB
最終ジャッジ日時 2023-07-30 09:42:53
合計ジャッジ時間 5,150 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
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;

namespace y
{
    class Program
    {
        static void Main(string[] args)
        {
            var ss = Console.ReadLine().Split();
            var h = int.Parse(ss[0]);

            var a = 0;
            for (int i = 0; i < h; i++)
            {
                a += Console.ReadLine().Count(x => x == 'w');
            }
            Console.WriteLine(a);
        }
    }
}
0