結果

問題 No.56 消費税
ユーザー あき
提出日時 2020-05-12 14:00:15
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 318 bytes
コンパイル時間 3,011 ms
コンパイル使用メモリ 76,380 KB
実行使用メモリ 56,324 KB
最終ジャッジ日時 2024-09-13 11:45:09
合計ジャッジ時間 7,559 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main
{
    public static void main (String args[]) 
    {
        Scanner scan = new Scanner(System.in);
        int D = scan.nextInt();
        int P = scan.nextInt();
        
        System.out.println("品物の金額は" + (D * (100 + P) / 100) +"ユキコダです。");
    }
}
0