結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
ta60143
|
| 提出日時 | 2018-10-24 16:51:59 |
| 言語 | Rust (1.94.0 + proconio + num + itertools) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| コード長 | 331 bytes |
| 記録 | |
| コンパイル時間 | 892 ms |
| コンパイル使用メモリ | 190,224 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-13 13:42:08 |
| 合計ジャッジ時間 | 1,754 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
use std::io;
fn main() {
let mut input = String::new();
io::stdin().read_line(&mut input).unwrap();
let mut input = input.trim().split_whitespace();
let d: u32 = input.next().unwrap().parse().unwrap();
let p: u32 = input.next().unwrap().parse().unwrap();
println!("{}", (d * (100 + p)) / 100);
}
ta60143