結果
問題 | No.712 赤旗 |
ユーザー |
|
提出日時 | 2019-08-06 17:28:30 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 204 bytes |
コンパイル時間 | 11,615 ms |
コンパイル使用メモリ | 230,680 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-18 14:08:31 |
合計ジャッジ時間 | 10,411 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
package mainimport ("fmt""strings")func main() {var n, m, cnt intvar s stringfmt.Scan(&n, &m)for i := 0; i < n; i++ {fmt.Scan(&s)cnt += strings.Count(s, "W")}fmt.Println(cnt)}