結果
問題 | No.712 赤旗 |
ユーザー | pirorirori_n712 |
提出日時 | 2018-07-28 15:18:59 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
AC
|
実行時間 | 64 ms / 2,000 ms |
コード長 | 286 bytes |
コンパイル時間 | 3,544 ms |
コンパイル使用メモリ | 106,040 KB |
実行使用メモリ | 23,936 KB |
最終ジャッジ日時 | 2023-09-19 06:22:04 |
合計ジャッジ時間 | 3,511 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 64 ms
21,828 KB |
testcase_01 | AC | 64 ms
21,756 KB |
testcase_02 | AC | 63 ms
21,920 KB |
testcase_03 | AC | 63 ms
23,848 KB |
testcase_04 | AC | 64 ms
23,936 KB |
コンパイルメッセージ
Microsoft (R) Visual C# Compiler version 3.9.0-6.21124.20 (db94f4cc) Copyright (C) Microsoft Corporation. All rights reserved.
ソースコード
using System; using System.Linq; class No712{ static void Main(){ var a=Console.ReadLine().Split(' ').Select(x=>Int32.Parse(x)).ToArray(); var b=0; for(int i=0;i<a[0];++i) b+=Console.ReadLine().Where(x=>x=='W').Count(); Console.WriteLine(b); } }