結果
問題 |
No.712 赤旗
|
ユーザー |
![]() |
提出日時 | 2018-07-13 22:23:24 |
言語 | C#(csc) (csc 3.9.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 414 bytes |
コンパイル時間 | 2,473 ms |
コンパイル使用メモリ | 110,680 KB |
実行使用メモリ | 26,780 KB |
最終ジャッジ日時 | 2024-10-09 05:13:30 |
合計ジャッジ時間 | 1,521 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 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.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); } } }