結果
| 問題 |
No.676 C0nvertPr0b1em
|
| コンテスト | |
| ユーザー |
atuk721
|
| 提出日時 | 2018-05-01 11:56:29 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 372 bytes |
| コンパイル時間 | 13,303 ms |
| コンパイル使用メモリ | 400,524 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-06-23 12:37:04 |
| 合計ジャッジ時間 | 14,830 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 26 |
ソースコード
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' | 'i' => '1',
'O' | 'o' => '0',
_ => c
}
})
.collect::<String>();
println!("{}", result);
}
atuk721