結果

問題 No.56 消費税
ユーザー maru
提出日時 2016-03-22 20:56:24
言語 Java
(openjdk 23)
結果
AC  
実行時間 136 ms / 5,000 ms
コード長 261 bytes
コンパイル時間 3,259 ms
コンパイル使用メモリ 74,116 KB
実行使用メモリ 55,992 KB
最終ジャッジ日時 2024-07-18 03:08:18
合計ジャッジ時間 7,847 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class yukicoder_56 {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		int price = stdIn.nextInt();
		int tax = stdIn.nextInt();
		
		System.out.println(price + (price * tax / 100));

	}
}
0