結果

問題 No.56 消費税
ユーザー Mcpu3Mcpu3
提出日時 2018-06-22 02:52:04
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 5,000 ms
コード長 234 bytes
コンパイル時間 1,944 ms
コンパイル使用メモリ 70,988 KB
実行使用メモリ 56,532 KB
最終ジャッジ日時 2023-09-13 07:50:55
合計ジャッジ時間 6,388 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,440 KB
testcase_01 AC 121 ms
56,532 KB
testcase_02 AC 119 ms
55,692 KB
testcase_03 AC 120 ms
55,784 KB
testcase_04 AC 119 ms
55,744 KB
testcase_05 AC 119 ms
55,700 KB
testcase_06 AC 119 ms
55,752 KB
testcase_07 AC 119 ms
55,716 KB
testcase_08 AC 119 ms
55,916 KB
testcase_09 AC 119 ms
55,520 KB
testcase_10 AC 117 ms
56,100 KB
testcase_11 AC 117 ms
55,968 KB
testcase_12 AC 120 ms
55,812 KB
testcase_13 AC 119 ms
55,812 KB
testcase_14 AC 118 ms
56,432 KB
testcase_15 AC 119 ms
55,772 KB
testcase_16 AC 118 ms
55,940 KB
testcase_17 AC 118 ms
56,100 KB
testcase_18 AC 117 ms
55,644 KB
testcase_19 AC 116 ms
55,900 KB
testcase_20 AC 117 ms
55,792 KB
testcase_21 AC 116 ms
55,804 KB
testcase_22 AC 117 ms
56,028 KB
testcase_23 AC 120 ms
55,440 KB
testcase_24 AC 122 ms
55,616 KB
testcase_25 AC 116 ms
55,820 KB
testcase_26 AC 118 ms
55,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class no56{
	public static void main(String[] args) {
		Scanner stdIn=new Scanner(System.in);
		int d,p;
		d=stdIn.nextInt();
		p=stdIn.nextInt();
		System.out.print((int)(d*p/(double)100)+d);
	}
}
0