結果
| 問題 | No.9000 Hello World! (テスト用) |
| ユーザー |
alpha_virginis
|
| 提出日時 | 2016-12-29 02:59:47 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 207 bytes |
| 記録 | |
| コンパイル時間 | 2,812 ms |
| コンパイル使用メモリ | 176,048 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-31 03:45:28 |
| 合計ジャッジ時間 | 2,775 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
warning: unused variable: `str`
--> src/main.rs:4:9
|
4 | let str = match std::io::stdin().read_line(&mut str) {
| ^^^ help: if this is intentional, prefix it with an underscore: `_str`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
ソースコード
fn main() {
let mut str = String::new();
let str = match std::io::stdin().read_line(&mut str) {
Ok(ss) => ss,
Err(_) => std::process::exit(1),
};
println!("Hello World!");
}
alpha_virginis