結果
問題 | No.712 赤旗 |
ユーザー |
![]() |
提出日時 | 2023-03-24 11:17:28 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 270 bytes |
コンパイル時間 | 10,740 ms |
コンパイル使用メモリ | 389,996 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-18 16:02:10 |
合計ジャッジ時間 | 11,428 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
use std::io::*;fn main() {let mut nm = String::new();std::io::stdin().read_line(&mut nm).ok();let mut s = String::new();std::io::stdin().read_to_string(&mut s).ok();let s = s.trim();println!("{}", s.match_indices("W").count());}