結果

問題 No.56 消費税
ユーザー FpmpAmpmFpmpAmpm
提出日時 2016-10-21 23:35:31
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 5,000 ms
コード長 373 bytes
コンパイル時間 1,998 ms
コンパイル使用メモリ 71,052 KB
実行使用メモリ 57,912 KB
最終ジャッジ日時 2023-09-25 03:44:17
合計ジャッジ時間 6,682 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
56,124 KB
testcase_01 AC 126 ms
56,392 KB
testcase_02 AC 126 ms
55,684 KB
testcase_03 AC 126 ms
56,204 KB
testcase_04 AC 128 ms
55,660 KB
testcase_05 AC 128 ms
57,912 KB
testcase_06 AC 127 ms
55,784 KB
testcase_07 AC 126 ms
55,832 KB
testcase_08 AC 127 ms
56,308 KB
testcase_09 AC 125 ms
55,752 KB
testcase_10 AC 125 ms
56,368 KB
testcase_11 AC 125 ms
55,920 KB
testcase_12 AC 126 ms
55,728 KB
testcase_13 AC 124 ms
55,524 KB
testcase_14 AC 123 ms
55,804 KB
testcase_15 AC 123 ms
56,160 KB
testcase_16 AC 123 ms
56,136 KB
testcase_17 AC 124 ms
56,288 KB
testcase_18 AC 123 ms
56,008 KB
testcase_19 AC 121 ms
56,064 KB
testcase_20 AC 121 ms
55,416 KB
testcase_21 AC 126 ms
55,928 KB
testcase_22 AC 124 ms
55,768 KB
testcase_23 AC 124 ms
55,872 KB
testcase_24 AC 124 ms
55,800 KB
testcase_25 AC 126 ms
56,228 KB
testcase_26 AC 125 ms
55,992 KB
権限があれば一括ダウンロードができます

ソースコード

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