結果

問題 No.1469 programing
ユーザー harurun
提出日時 2021-04-03 17:46:13
言語 Rust
(1.83.0 + proconio)
結果
WA  
実行時間 -
コード長 137 bytes
コンパイル時間 16,023 ms
コンパイル使用メモリ 378,176 KB
実行使用メモリ 11,776 KB
最終ジャッジ日時 2024-12-25 03:53:27
合計ジャッジ時間 17,346 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `s`
 --> src/main.rs:2:7
  |
2 |   let s = {
  |       ^ help: if this is intentional, prefix it with an underscore: `_s`
  |
  = note: `#[warn(unused_variables)]` on by default

ソースコード

diff #

fn main(){
  let s = {
    let mut s = String::new();
    std::io::stdin().read_line(&mut s).unwrap();
    s.trim_end().to_owned()
  };
}
0