結果
| 問題 | 
                            No.725 木は明らかに森である
                             | 
                    
| コンテスト | |
| ユーザー | 
                             atetubou
                         | 
                    
| 提出日時 | 2019-04-30 13:20:54 | 
| 言語 | Rust  (1.83.0 + proconio)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 373 bytes | 
| コンパイル時間 | 14,351 ms | 
| コンパイル使用メモリ | 396,536 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-12-29 19:15:48 | 
| 合計ジャッジ時間 | 15,286 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 9 | 
ソースコード
fn read<T: std::str::FromStr>() -> Vec<T>
where
    <T as std::str::FromStr>::Err: std::fmt::Debug,
{
    let mut b = String::new();
    std::io::stdin().read_line(&mut b).unwrap();
    b.split(' ')
        .map(|x| x.trim().parse::<T>().unwrap())
        .collect()
}
fn main() {
    let iv: Vec<String> = read();
    println!("{}", iv[0].replace("treeone", "forest"))
}
            
            
            
        
            
atetubou