結果
| 問題 |
No.3261 yiwiy9 → yiwiY9
|
| コンテスト | |
| ユーザー |
おもち(求肥)
|
| 提出日時 | 2025-09-06 13:40:41 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 13,856 ms |
| コンパイル使用メモリ | 377,656 KB |
| 実行使用メモリ | 7,720 KB |
| 最終ジャッジ日時 | 2025-09-06 13:41:02 |
| 合計ジャッジ時間 | 14,893 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 WA * 17 |
コンパイルメッセージ
warning: unused variable: `w` --> src/main.rs:5:5 | 5 | w: usize, | ^ help: if this is intentional, prefix it with an underscore: `_w` | = note: `#[warn(unused_variables)]` on by default
ソースコード
use proconio::input;
fn main() {
input!{
h: usize,
w: usize,
mut s: [String; h]
}
for i in 0..h {
s[i] = s[i].replace("yiwiy9", "yiwiY9");
s[i] = s[i].replace("9yiwiy", "9Yiwiy");
println!("{}", s[i]);
}
}
おもち(求肥)