結果

問題 No.56 消費税
ユーザー N K
提出日時 2021-04-21 16:04:19
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 320 bytes
コンパイル時間 1,952 ms
コンパイル使用メモリ 78,524 KB
実行使用メモリ 41,448 KB
最終ジャッジ日時 2024-07-04 06:02:21
合計ジャッジ時間 6,172 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 WA * 1
other AC * 13 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
    public static void main(String[] arg){
        Scanner scan = new Scanner(System.in);
        int Yukicoda=scan.nextInt();
        int Tax=scan.nextInt();
        int Payment;
        Payment=(int)Math.floor(Yukicoda*(1+Tax*0.01));
        System.out.println(Payment);
    }
}
0