結果

問題 No.56 消費税
ユーザー aaaaasatori
提出日時 2018-02-05 09:32:03
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 269 bytes
コンパイル時間 3,448 ms
コンパイル使用メモリ 73,680 KB
実行使用メモリ 55,796 KB
最終ジャッジ日時 2024-07-06 12:43:24
合計ジャッジ時間 6,270 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No56syouhizei {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		float D = sc.nextInt(); // 値段
		float P = sc.nextInt(); // 消費税(%)
		
		System.out.println((int)D * (1 + P / 100));
	}
}
0