結果

問題 No.56 消費税
ユーザー Matumo
提出日時 2018-07-13 20:38:41
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 248 bytes
コンパイル時間 2,954 ms
コンパイル使用メモリ 74,144 KB
実行使用メモリ 54,408 KB
最終ジャッジ日時 2024-10-09 05:07:14
合計ジャッジ時間 7,143 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {

	static Scanner sc = new Scanner(System.in);

	public static void main(String[] args) {

		int d = sc.nextInt();
		int p = sc.nextInt();
		
		System.out.println((int)(d * (1 + (p / 100.0))));
    }
}
0