結果

問題 No.56 消費税
ユーザー CavasiroCavasiro
提出日時 2020-04-15 15:44:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 5,000 ms
コード長 209 bytes
コンパイル時間 2,166 ms
コンパイル使用メモリ 74,524 KB
実行使用メモリ 54,496 KB
最終ジャッジ日時 2024-04-09 18:42:45
合計ジャッジ時間 6,875 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
54,332 KB
testcase_01 AC 132 ms
54,208 KB
testcase_02 AC 132 ms
54,092 KB
testcase_03 AC 131 ms
54,056 KB
testcase_04 AC 130 ms
53,964 KB
testcase_05 AC 131 ms
53,960 KB
testcase_06 AC 134 ms
54,348 KB
testcase_07 AC 132 ms
54,220 KB
testcase_08 AC 133 ms
54,232 KB
testcase_09 AC 132 ms
53,984 KB
testcase_10 AC 132 ms
54,496 KB
testcase_11 AC 130 ms
54,312 KB
testcase_12 AC 134 ms
54,364 KB
testcase_13 AC 131 ms
53,880 KB
testcase_14 AC 133 ms
54,236 KB
testcase_15 AC 132 ms
54,448 KB
testcase_16 AC 134 ms
54,300 KB
testcase_17 AC 132 ms
54,276 KB
testcase_18 AC 132 ms
53,988 KB
testcase_19 AC 132 ms
53,972 KB
testcase_20 AC 131 ms
54,092 KB
testcase_21 AC 130 ms
53,904 KB
testcase_22 AC 131 ms
54,140 KB
testcase_23 AC 132 ms
54,068 KB
testcase_24 AC 133 ms
54,264 KB
testcase_25 AC 132 ms
53,988 KB
testcase_26 AC 130 ms
54,164 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
 
class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int d = sc.nextInt();
		int p = sc.nextInt();
		System.out.println(d+(d*p/100));
	}
}
0