結果

問題 No.285 消費税2
ユーザー nCk_cvnCk_cv
提出日時 2015-12-09 17:52:55
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 354 bytes
コンパイル時間 1,983 ms
コンパイル使用メモリ 72,904 KB
実行使用メモリ 56,684 KB
最終ジャッジ日時 2023-10-13 08:43:22
合計ジャッジ時間 7,915 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
56,056 KB
testcase_01 AC 134 ms
56,296 KB
testcase_02 AC 132 ms
55,992 KB
testcase_03 AC 135 ms
56,084 KB
testcase_04 AC 137 ms
56,476 KB
testcase_05 AC 135 ms
56,468 KB
testcase_06 AC 135 ms
55,988 KB
testcase_07 AC 135 ms
56,240 KB
testcase_08 AC 137 ms
56,136 KB
testcase_09 AC 134 ms
56,224 KB
testcase_10 AC 137 ms
56,412 KB
testcase_11 AC 135 ms
56,012 KB
testcase_12 AC 135 ms
56,196 KB
testcase_13 AC 136 ms
56,208 KB
testcase_14 AC 133 ms
55,788 KB
testcase_15 AC 137 ms
56,648 KB
testcase_16 AC 138 ms
56,036 KB
testcase_17 AC 135 ms
56,684 KB
testcase_18 AC 135 ms
56,260 KB
testcase_19 AC 139 ms
56,444 KB
testcase_20 AC 137 ms
56,272 KB
testcase_21 AC 136 ms
56,092 KB
testcase_22 AC 136 ms
56,572 KB
testcase_23 AC 134 ms
55,780 KB
testcase_24 AC 137 ms
56,248 KB
testcase_25 AC 134 ms
56,108 KB
testcase_26 AC 134 ms
56,396 KB
testcase_27 AC 137 ms
56,340 KB
testcase_28 AC 135 ms
56,432 KB
testcase_29 AC 135 ms
56,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.util.Map.Entry;
import java.math.*;
import java.awt.geom.*;
import java.io.*;
      
      
public class Main {	

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		BigDecimal bd = sc.nextBigDecimal();
		bd = bd.multiply(new BigDecimal("1.08"));
		System.out.println(bd.toString());
	}
		
}
0