結果
| 問題 |
No.9000 Hello World! (テスト用)
|
| ユーザー |
|
| 提出日時 | 2021-06-24 23:01:08 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 226 bytes |
| コンパイル時間 | 13,398 ms |
| コンパイル使用メモリ | 378,180 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-06-25 07:34:50 |
| 合計ジャッジ時間 | 13,337 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)]` on by default
ソースコード
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!");
}