結果

問題 No.56 消費税
ユーザー shinwisteriashinwisteria
提出日時 2017-03-18 19:52:17
言語 Java19
(openjdk 21)
結果
AC  
実行時間 127 ms / 5,000 ms
コード長 225 bytes
コンパイル時間 5,802 ms
コンパイル使用メモリ 71,840 KB
実行使用メモリ 56,336 KB
最終ジャッジ日時 2023-09-25 03:56:34
合計ジャッジ時間 7,552 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
55,660 KB
testcase_01 AC 124 ms
55,828 KB
testcase_02 AC 124 ms
56,012 KB
testcase_03 AC 124 ms
55,896 KB
testcase_04 AC 119 ms
55,720 KB
testcase_05 AC 124 ms
56,080 KB
testcase_06 AC 123 ms
55,808 KB
testcase_07 AC 127 ms
56,048 KB
testcase_08 AC 123 ms
55,716 KB
testcase_09 AC 122 ms
55,492 KB
testcase_10 AC 122 ms
55,912 KB
testcase_11 AC 122 ms
55,908 KB
testcase_12 AC 125 ms
55,972 KB
testcase_13 AC 124 ms
55,804 KB
testcase_14 AC 126 ms
55,668 KB
testcase_15 AC 124 ms
56,120 KB
testcase_16 AC 123 ms
55,940 KB
testcase_17 AC 124 ms
55,836 KB
testcase_18 AC 123 ms
53,884 KB
testcase_19 AC 123 ms
55,852 KB
testcase_20 AC 125 ms
55,676 KB
testcase_21 AC 125 ms
55,920 KB
testcase_22 AC 125 ms
56,068 KB
testcase_23 AC 125 ms
56,064 KB
testcase_24 AC 125 ms
56,336 KB
testcase_25 AC 123 ms
55,640 KB
testcase_26 AC 123 ms
55,880 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Shohizei {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int D = s.nextInt(), P = s.nextInt();
		s.close();
		System.out.println(D + D*P/100);
	}
}
0