結果
| 問題 | 
                            No.993 青色
                             | 
                    
| コンテスト | |
| ユーザー | 
                             omgitskuu
                         | 
                    
| 提出日時 | 2020-03-20 19:55:11 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 252 bytes | 
| コンパイル時間 | 12,775 ms | 
| コンパイル使用メモリ | 379,804 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-14 16:28:51 | 
| 合計ジャッジ時間 | 13,547 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 8 | 
コンパイルメッセージ
warning: variable does not need to be mutable --> src/main.rs:8:8 | 8 | let mut s:String = read(); | ----^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
ソースコード
fn read<T: std::str::FromStr>() -> T {
    let mut s = String::new();
    std::io::stdin().read_line(&mut s).ok();
    s.trim().parse().ok().unwrap()
}
fn main(){
   let mut s:String = read(); 
   let t = s.replace("ao", "ki");
   println!("{}", t);
}
            
            
            
        
            
omgitskuu