結果
| 問題 | No.676 C0nvertPr0b1em | 
| コンテスト | |
| ユーザー |  atuk721 | 
| 提出日時 | 2018-05-01 11:59:26 | 
| 言語 | Rust (1.83.0 + proconio) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 371 bytes | 
| コンパイル時間 | 12,291 ms | 
| コンパイル使用メモリ | 377,812 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-06-23 12:36:48 | 
| 合計ジャッジ時間 | 12,880 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 30 | 
ソースコード
use std::io;
fn main() {
    let mut input = String::new();
    let _ = io::stdin().read_line(&mut input).unwrap();
    let result = input.trim().chars()
        .map(|c| {
            match c {
                'I' | 'l' => '1',
                'O' | 'o' => '0',
                _ => c
            }
        })
        .collect::<String>();
    println!("{}", result);
}
            
            
            
        