結果
問題 | No.9000 Hello World! (テスト用) |
ユーザー | 11Takanori |
提出日時 | 2018-09-29 17:18:08 |
言語 | Rust (1.77.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 185 bytes |
コンパイル時間 | 1,053 ms |
コンパイル使用メモリ | 137,556 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-04-20 12:54:01 |
合計ジャッジ時間 | 775 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
5,248 KB |
testcase_01 | AC | 1 ms
5,376 KB |
testcase_02 | AC | 0 ms
5,376 KB |
testcase_03 | AC | 0 ms
5,376 KB |
コンパイルメッセージ
warning: unused variable: `s` --> main.rs:7:9 | 7 | let s = get_line(); | ^ help: if this is intentional, prefix it with an underscore: `_s` | = note: `#[warn(unused_variables)]` on by default warning: 1 warning emitted
ソースコード
fn get_line() -> String { let mut s = String::new(); std::io::stdin().read_line(&mut s).ok(); return s } fn main() { let s = get_line(); println!("Hello World!"); }