結果
| 問題 |
No.9000 Hello World! (テスト用)
|
| ユーザー |
|
| 提出日時 | 2024-10-27 14:37:55 |
| 言語 | Rust (1.83.0 + proconio) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 198 bytes |
| コンパイル時間 | 13,140 ms |
| コンパイル使用メモリ | 402,920 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-27 14:38:12 |
| 合計ジャッジ時間 | 14,203 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
warning: unused import: `input`
--> src/main.rs:1:25
|
1 | use proconio::{fastout, input};
| ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: function `yes` is never used
--> src/main.rs:3:4
|
3 | fn yes(yes_no: bool) {
| ^^^
|
= note: `#[warn(dead_code)]` on by default
ソースコード
use proconio::{fastout, input};
fn yes(yes_no: bool) {
if yes_no {
println!("Yes");
} else {
println!("No");
}
}
#[fastout]
fn main() {
println!("Hello World!");
}