結果

問題 No.56 消費税
ユーザー 水野嶺水野嶺
提出日時 2020-05-20 16:17:42
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 5,000 ms
コード長 275 bytes
コンパイル時間 2,095 ms
コンパイル使用メモリ 73,988 KB
実行使用メモリ 54,380 KB
最終ジャッジ日時 2024-04-09 22:59:27
合計ジャッジ時間 6,961 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
54,004 KB
testcase_01 AC 139 ms
54,208 KB
testcase_02 AC 139 ms
54,308 KB
testcase_03 AC 137 ms
54,160 KB
testcase_04 AC 136 ms
53,968 KB
testcase_05 AC 136 ms
54,108 KB
testcase_06 AC 137 ms
53,972 KB
testcase_07 AC 136 ms
54,380 KB
testcase_08 AC 134 ms
54,180 KB
testcase_09 AC 137 ms
54,172 KB
testcase_10 AC 136 ms
54,216 KB
testcase_11 AC 136 ms
54,240 KB
testcase_12 AC 136 ms
54,184 KB
testcase_13 AC 135 ms
53,980 KB
testcase_14 AC 135 ms
54,100 KB
testcase_15 AC 139 ms
54,148 KB
testcase_16 AC 137 ms
54,100 KB
testcase_17 AC 138 ms
54,180 KB
testcase_18 AC 135 ms
54,100 KB
testcase_19 AC 138 ms
54,244 KB
testcase_20 AC 135 ms
54,196 KB
testcase_21 AC 137 ms
53,992 KB
testcase_22 AC 135 ms
53,992 KB
testcase_23 AC 134 ms
54,372 KB
testcase_24 AC 136 ms
54,144 KB
testcase_25 AC 138 ms
54,120 KB
testcase_26 AC 135 ms
53,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.lang.*;
import java.io.*;

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