結果
| 問題 |
No.712 赤旗
|
| コンテスト | |
| ユーザー |
_matumo_
|
| 提出日時 | 2018-07-17 17:13:24 |
| 言語 | C#(csc) (csc 3.9.0) |
| 結果 |
AC
|
| 実行時間 | 29 ms / 2,000 ms |
| コード長 | 804 bytes |
| コンパイル時間 | 859 ms |
| コンパイル使用メモリ | 111,644 KB |
| 実行使用メモリ | 27,056 KB |
| 最終ジャッジ日時 | 2024-11-25 08:46:45 |
| 合計ジャッジ時間 | 1,493 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
namespace YukiCoder
{
class Program
{
static void Main(string[] args)
{
var va = Console.ReadLine().Split().Select(int.Parse).ToArray();
int cn = 0;
for (int i = 0; i < va[0]; i++)
{
cn += Console.ReadLine().Count(a => a == 'W');
}
Console.WriteLine(cn);
Console.ReadLine();
}
}
}
_matumo_