結果

問題 No.56 消費税
ユーザー FpmpAmpm
提出日時 2016-10-21 23:35:31
言語 Java
(openjdk 23)
結果
AC  
実行時間 124 ms / 5,000 ms
コード長 373 bytes
コンパイル時間 1,732 ms
コンパイル使用メモリ 73,996 KB
実行使用メモリ 54,260 KB
最終ジャッジ日時 2024-07-18 03:20:45
合計ジャッジ時間 5,578 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner sc = new Scanner(System.in);
    	int D = sc.nextInt();
    	int P = sc.nextInt();
    	
    	System.out.println(D * (100 + P) / 100);
	}
}
0