結果

問題 No.56 消費税
ユーザー ダンネック
提出日時 2020-05-23 01:23:54
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 3,100 ms
コンパイル使用メモリ 74,540 KB
実行使用メモリ 56,120 KB
最終ジャッジ日時 2024-10-06 04:05:55
合計ジャッジ時間 7,097 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.Scanner;
public class tax{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
	int i = sc.nextInt();
	int j = sc.nextInt();
        int i_tax = i * (j / 100);
        int total = i + i_tax;
	System.out.println(Math.floor(total));
        sc.close();
    }
}
0