結果

問題 No.285 消費税2
ユーザー 37zigen37zigen
提出日時 2016-05-03 23:23:32
言語 Java21
(openjdk 21)
結果
AC  
実行時間 169 ms / 2,000 ms
コード長 332 bytes
コンパイル時間 2,737 ms
コンパイル使用メモリ 75,540 KB
実行使用メモリ 42,308 KB
最終ジャッジ日時 2024-04-15 11:07:52
合計ジャッジ時間 8,839 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 151 ms
41,508 KB
testcase_01 AC 164 ms
41,752 KB
testcase_02 AC 160 ms
41,796 KB
testcase_03 AC 158 ms
41,744 KB
testcase_04 AC 156 ms
41,864 KB
testcase_05 AC 154 ms
41,688 KB
testcase_06 AC 155 ms
41,924 KB
testcase_07 AC 156 ms
41,940 KB
testcase_08 AC 163 ms
41,960 KB
testcase_09 AC 160 ms
41,980 KB
testcase_10 AC 157 ms
41,756 KB
testcase_11 AC 169 ms
41,844 KB
testcase_12 AC 159 ms
41,832 KB
testcase_13 AC 159 ms
41,548 KB
testcase_14 AC 161 ms
42,308 KB
testcase_15 AC 157 ms
41,696 KB
testcase_16 AC 162 ms
41,820 KB
testcase_17 AC 160 ms
41,716 KB
testcase_18 AC 158 ms
41,744 KB
testcase_19 AC 159 ms
41,904 KB
testcase_20 AC 161 ms
41,564 KB
testcase_21 AC 158 ms
41,652 KB
testcase_22 AC 162 ms
41,728 KB
testcase_23 AC 153 ms
41,544 KB
testcase_24 AC 158 ms
41,436 KB
testcase_25 AC 159 ms
41,936 KB
testcase_26 AC 155 ms
41,788 KB
testcase_27 AC 158 ms
41,480 KB
testcase_28 AC 158 ms
41,500 KB
testcase_29 AC 151 ms
41,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;
import java.math.BigDecimal;
import java.util.Scanner;
public class Main{
	public static void main(String[] args)throws Exception{
		new Main().solve();
	}
	void solve(){
		Scanner sc=new Scanner(System.in);
		BigDecimal d=new BigDecimal(sc.next());
		System.out.println(d.multiply(new BigDecimal("1.08")));
	}
}
0