結果
| 問題 | No.9000 Hello World! (テスト用) |
| ユーザー |
rustGanbaruman
|
| 提出日時 | 2026-02-05 12:11:03 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 330 bytes |
| 記録 | |
| コンパイル時間 | 344 ms |
| コンパイル使用メモリ | 174,696 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-21 02:11:14 |
| 合計ジャッジ時間 | 2,011 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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`
ソースコード
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!");
}
rustGanbaruman