結果

問題 No.9000 Hello World! (テスト用)
ユーザー rustGanbaruman
提出日時 2026-02-05 12:11:03
言語 Rust
(1.92.0 + proconio + num + itertools)
結果
RE  
実行時間 -
コード長 330 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 16,783 ms
コンパイル使用メモリ 194,452 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2026-02-05 12:11:21
合計ジャッジ時間 2,772 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other RE * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `n`
 --> src/main.rs:8:9
  |
8 |     let n:usize = input.next().unwrap().parse().unwrap();
  |         ^ help: if this is intentional, prefix it with an underscore: `_n`
  |
  = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `m`
 --> src/main.rs:9:9
  |
9 |     let m:usize = input.next().unwrap().parse().unwrap();
  |         ^ help: if this is intentional, prefix it with an underscore: `_m`

ソースコード

diff #
raw source code

use std::io::{Read,self};

fn main(){
    let mut buf = String::new();
    io::stdin().read_to_string(&mut buf).unwrap();
    let mut input = buf.split_ascii_whitespace();

    let n:usize = input.next().unwrap().parse().unwrap();
    let m:usize = input.next().unwrap().parse().unwrap();
    
    println!("Hello World!");
    
}
0