結果
問題 | No.56 消費税 |
ユーザー | taba |
提出日時 | 2024-08-01 09:29:34 |
言語 | Rust (1.83.0 + proconio) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 181 bytes |
コンパイル時間 | 11,812 ms |
コンパイル使用メモリ | 401,608 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-08-01 09:29:49 |
合計ジャッジ時間 | 13,373 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
コンパイルメッセージ
warning: unused imports: `BTreeSet`, `HashMap`, `hash::Hash` --> src/main.rs:2:19 | 2 | collections::{BTreeSet, HashMap}, | ^^^^^^^^ ^^^^^^^ 3 | hash::Hash, | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
ソースコード
use std::{ collections::{BTreeSet, HashMap}, hash::Hash, }; fn main() { proconio::input! { d: u64, p: u64, } println!("{}", d + d * p / 100); }