結果

問題 No.56 消費税
ユーザー iicafiaxusiicafiaxus
提出日時 2016-08-29 22:19:16
言語 D
(dmd 2.109.1)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 310 bytes
コンパイル時間 2,389 ms
コンパイル使用メモリ 126,188 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-12 03:50:00
合計ジャッジ時間 1,646 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import std.stdio;
import std.conv, std.array, std.algorithm, std.string;
import std.math, std.random, std.range, std.datetime;
import std.bigint;

void main(){
	long d, p;
	{
		long[] xs = readln.chomp.split.map!(to!long).array;
		d = xs[0], p = xs[1];
		}
	
	long ans = d + (d * p / 100);
	
	ans.writeln;
	
	}
0