結果

問題 No.56 消費税
ユーザー 37zigen
提出日時 2016-04-01 14:44:21
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 249 bytes
コンパイル時間 2,024 ms
コンパイル使用メモリ 73,840 KB
実行使用メモリ 54,332 KB
最終ジャッジ日時 2024-10-02 08:47:38
合計ジャッジ時間 6,987 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder056;
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner sc=new Scanner(System.in);
		double d=sc.nextDouble();
		double p=sc.nextDouble();
		System.out.println((int)(d*(1+p/100)));
	}
}
0