結果

問題 No.285 消費税2
ユーザー spaciaspacia
提出日時 2016-01-04 09:41:26
言語 Java21
(openjdk 21)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 389 bytes
コンパイル時間 2,371 ms
コンパイル使用メモリ 74,816 KB
実行使用メモリ 54,016 KB
最終ジャッジ日時 2023-10-19 15:00:17
合計ジャッジ時間 5,336 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
53,996 KB
testcase_01 AC 58 ms
54,016 KB
testcase_02 AC 57 ms
53,976 KB
testcase_03 AC 58 ms
53,996 KB
testcase_04 AC 58 ms
53,992 KB
testcase_05 AC 59 ms
52,852 KB
testcase_06 AC 60 ms
53,984 KB
testcase_07 AC 58 ms
53,976 KB
testcase_08 AC 57 ms
53,988 KB
testcase_09 AC 59 ms
53,984 KB
testcase_10 AC 59 ms
53,984 KB
testcase_11 AC 59 ms
52,888 KB
testcase_12 AC 59 ms
54,000 KB
testcase_13 AC 60 ms
53,996 KB
testcase_14 AC 57 ms
53,932 KB
testcase_15 AC 57 ms
51,944 KB
testcase_16 AC 58 ms
54,004 KB
testcase_17 AC 57 ms
53,988 KB
testcase_18 AC 58 ms
52,896 KB
testcase_19 AC 57 ms
53,988 KB
testcase_20 AC 57 ms
53,992 KB
testcase_21 AC 57 ms
51,988 KB
testcase_22 AC 58 ms
53,988 KB
testcase_23 AC 57 ms
51,944 KB
testcase_24 AC 57 ms
52,968 KB
testcase_25 AC 58 ms
52,824 KB
testcase_26 AC 59 ms
53,928 KB
testcase_27 AC 57 ms
52,824 KB
testcase_28 AC 58 ms
53,980 KB
testcase_29 AC 61 ms
52,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;
import java.math.*;

class Main {
	
	public static void out (Object o) {
		System.out.println(o);
	}
	
	public static void main (String[] args) throws IOException {
		BufferedReader br = 
			new BufferedReader(new InputStreamReader(System.in));
		
		BigDecimal n = new BigDecimal(br.readLine());
		
		out(n.multiply(BigDecimal.valueOf(1.08)));
		
	}
}
0