結果
問題 | No.495 (^^*) Easy |
ユーザー |
![]() |
提出日時 | 2023-01-30 22:52:17 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 222 bytes |
コンパイル時間 | 12,792 ms |
コンパイル使用メモリ | 383,564 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 06:56:13 |
合計ジャッジ時間 | 13,650 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 7 |
ソースコード
fn main() {let mut s = String::new();std::io::stdin().read_line(&mut s).ok();let s = s.trim();let l = s.matches("(^^*)").count();let r = s.matches("(*^^)").count();println!("{} {}", l, r);}