結果

問題 No.56 消費税
ユーザー SuunnSuunn
提出日時 2018-11-20 05:40:59
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 5,000 ms
コード長 242 bytes
コンパイル時間 1,941 ms
コンパイル使用メモリ 71,548 KB
実行使用メモリ 56,616 KB
最終ジャッジ日時 2023-08-26 02:11:23
合計ジャッジ時間 5,790 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 109 ms
56,140 KB
testcase_01 AC 104 ms
55,756 KB
testcase_02 AC 107 ms
55,800 KB
testcase_03 AC 104 ms
55,880 KB
testcase_04 AC 105 ms
55,780 KB
testcase_05 AC 108 ms
56,380 KB
testcase_06 AC 113 ms
55,820 KB
testcase_07 AC 113 ms
55,840 KB
testcase_08 AC 112 ms
55,836 KB
testcase_09 AC 103 ms
55,544 KB
testcase_10 AC 104 ms
55,816 KB
testcase_11 AC 104 ms
56,152 KB
testcase_12 AC 103 ms
56,128 KB
testcase_13 AC 104 ms
55,956 KB
testcase_14 AC 104 ms
56,052 KB
testcase_15 AC 106 ms
56,616 KB
testcase_16 AC 105 ms
55,540 KB
testcase_17 AC 104 ms
55,924 KB
testcase_18 AC 106 ms
56,180 KB
testcase_19 AC 106 ms
56,088 KB
testcase_20 AC 104 ms
55,700 KB
testcase_21 AC 123 ms
55,732 KB
testcase_22 AC 108 ms
55,728 KB
testcase_23 AC 107 ms
56,296 KB
testcase_24 AC 108 ms
56,380 KB
testcase_25 AC 107 ms
55,584 KB
testcase_26 AC 108 ms
55,588 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
	

public class Main{
	
	
	public static void main(String args[])throws Exception{
		
		Scanner sc = new Scanner(System.in);
		int D= sc.nextInt();
		int P = sc.nextInt();
		System.out.println(D + D * P / 100);
	}
}
0