結果
| 問題 | No.9000 Hello World! (テスト用) |
| ユーザー |
|
| 提出日時 | 2023-04-30 21:10:08 |
| 言語 | Rust (1.97.1 + proconio + num + itertools + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 195 bytes |
| 記録 | |
| コンパイル時間 | 557 ms |
| コンパイル使用メモリ | 171,564 KB |
| 実行使用メモリ | 9,868 KB |
| 最終ジャッジ日時 | 2026-09-26 15:23:14 |
| 合計ジャッジ時間 | 2,711 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 4 |
コンパイルメッセージ
warning: unused variable: `s` --> src/main.rs:9:9 | 9 | let s = getline(); | ^ help: if this is intentional, prefix it with an underscore: `_s` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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();
println!("Hello world!");
}