結果
問題 | No.9005 実行時間/使用メモリテスト(テスト用) |
ユーザー |
![]() |
提出日時 | 2024-09-04 09:01:36 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 3,000 ms |
コード長 | 166 bytes |
コンパイル時間 | 12,370 ms |
コンパイル使用メモリ | 403,536 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-09-04 09:01:50 |
合計ジャッジ時間 | 13,472 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
コンパイルメッセージ
warning: unused `Result` that must be used --> src/main.rs:8:5 | 8 | write!(stdout, "0"); | ^^^^^^^^^^^^^^^^^^^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `#[warn(unused_must_use)]` on by default = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
ソースコード
use std::io;use std::io::prelude::*;fn main() {let stdout = io::stdout();let mut stdout = io::BufWriter::new(stdout.lock());write!(stdout, "0");}