結果

問題 No.9000 Hello World! (テスト用)
ユーザー tcbn
提出日時 2021-06-24 23:01:08
言語 Rust
(1.94.0 + proconio + num + itertools)
コンパイル:
/usr/bin/rustc_custom
実行:
./target/release/main
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 226 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 526 ms
コンパイル使用メモリ 196,312 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2026-03-11 16:10:30
合計ジャッジ時間 1,145 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
warning: unused variable: `a`
 --> src/main.rs:9:6
  |
9 |     let a:Vec<_>=s.trim().split(' ').collect();
  |         ^ help: if this is intentional, prefix it with an underscore: `_a`
  |
  = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

ソースコード

diff #
raw source code

fn getline() -> String{
	let mut __ret=String::new();
	std::io::stdin().read_line(&mut __ret).ok();
	return __ret;
}

fn main(){
	let s=getline();
	let a:Vec<_>=s.trim().split(' ').collect();
	println!("{}", "Hello World!");
}
0