結果

問題 No.169 何分かかるの!?
ユーザー nak2yoshi
提出日時 2016-02-22 20:57:29
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 246 bytes
コンパイル時間 636 ms
コンパイル使用メモリ 102,796 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-12 02:59:51
合計ジャッジ時間 1,341 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

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

void main()
{
    auto K = readln.strip.to!int;
    auto S = readln.strip.to!real;

    ((100.0 / (100.0 - K)) * S).to!int.writeln;
}
0