結果

問題 No.56 消費税
ユーザー omc-testomc-test
提出日時 2016-08-04 09:15:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 5,000 ms
コード長 220 bytes
コンパイル時間 1,931 ms
コンパイル使用メモリ 71,860 KB
実行使用メモリ 56,216 KB
最終ジャッジ日時 2023-09-25 03:37:52
合計ジャッジ時間 6,336 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,412 KB
testcase_01 AC 121 ms
56,200 KB
testcase_02 AC 122 ms
55,952 KB
testcase_03 AC 125 ms
55,452 KB
testcase_04 AC 122 ms
56,120 KB
testcase_05 AC 122 ms
55,612 KB
testcase_06 AC 120 ms
55,628 KB
testcase_07 AC 122 ms
56,032 KB
testcase_08 AC 124 ms
55,796 KB
testcase_09 AC 122 ms
55,684 KB
testcase_10 AC 123 ms
55,768 KB
testcase_11 AC 123 ms
55,828 KB
testcase_12 AC 120 ms
55,576 KB
testcase_13 AC 122 ms
56,216 KB
testcase_14 AC 122 ms
55,628 KB
testcase_15 AC 122 ms
55,556 KB
testcase_16 AC 121 ms
56,016 KB
testcase_17 AC 123 ms
55,972 KB
testcase_18 AC 124 ms
53,768 KB
testcase_19 AC 124 ms
56,028 KB
testcase_20 AC 122 ms
55,676 KB
testcase_21 AC 123 ms
55,800 KB
testcase_22 AC 121 ms
55,668 KB
testcase_23 AC 121 ms
55,648 KB
testcase_24 AC 126 ms
55,724 KB
testcase_25 AC 124 ms
56,120 KB
testcase_26 AC 121 ms
55,812 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
public 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