結果

問題 No.56 消費税
ユーザー nak2yoshi
提出日時 2016-02-18 16:29:19
言語 D
(dmd 2.109.1)
結果
WA  
実行時間 -
コード長 247 bytes
コンパイル時間 2,821 ms
コンパイル使用メモリ 152,508 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-12 02:54:17
合計ジャッジ時間 3,092 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 4 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio,
       std.conv,
       std.string,
       std.range,
       std.math,
       std.algorithm;

void main()
{
    auto input = readln.split.to!(real[]);
    auto D = input[0], P = input[1];

    (D * (1 + P / 100)).ceil.writeln;
}
0