結果

問題 No.285 消費税2
ユーザー kou6839kou6839
提出日時 2015-10-16 01:30:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 148 ms / 2,000 ms
コード長 402 bytes
コンパイル時間 2,561 ms
コンパイル使用メモリ 86,148 KB
実行使用メモリ 56,428 KB
最終ジャッジ日時 2023-09-28 21:58:29
合計ジャッジ時間 7,790 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 144 ms
56,228 KB
testcase_01 AC 140 ms
56,072 KB
testcase_02 AC 142 ms
56,104 KB
testcase_03 AC 141 ms
55,944 KB
testcase_04 AC 142 ms
56,024 KB
testcase_05 AC 142 ms
55,628 KB
testcase_06 AC 141 ms
56,156 KB
testcase_07 AC 141 ms
55,920 KB
testcase_08 AC 146 ms
56,188 KB
testcase_09 AC 143 ms
55,992 KB
testcase_10 AC 144 ms
55,980 KB
testcase_11 AC 143 ms
56,208 KB
testcase_12 AC 141 ms
56,084 KB
testcase_13 AC 143 ms
55,960 KB
testcase_14 AC 144 ms
56,188 KB
testcase_15 AC 143 ms
54,132 KB
testcase_16 AC 141 ms
55,720 KB
testcase_17 AC 146 ms
56,024 KB
testcase_18 AC 148 ms
55,972 KB
testcase_19 AC 144 ms
56,080 KB
testcase_20 AC 143 ms
55,936 KB
testcase_21 AC 142 ms
55,904 KB
testcase_22 AC 144 ms
55,984 KB
testcase_23 AC 141 ms
55,960 KB
testcase_24 AC 144 ms
56,136 KB
testcase_25 AC 144 ms
55,852 KB
testcase_26 AC 141 ms
56,092 KB
testcase_27 AC 141 ms
56,428 KB
testcase_28 AC 140 ms
56,188 KB
testcase_29 AC 139 ms
56,324 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.awt.event.KeyAdapter;
import java.math.BigDecimal;
import java.util.*;

public class Main{
	public static void main(String[] args){
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		//String a = new BigDecimal(sc.nextDouble()*1.08+"").toPlainString();
		System.out.println(String.format("%.2f", new BigDecimal(sc.nextDouble()*1.08+"")));
	}
}
0