結果

問題 No.285 消費税2
ユーザー AoiroFukurouAoiroFukurou
提出日時 2015-12-19 21:18:37
言語 Java21
(openjdk 21)
結果
AC  
実行時間 133 ms / 2,000 ms
コード長 341 bytes
コンパイル時間 3,297 ms
コンパイル使用メモリ 74,516 KB
実行使用メモリ 57,856 KB
最終ジャッジ日時 2023-10-17 12:49:42
合計ジャッジ時間 8,379 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
57,492 KB
testcase_01 AC 131 ms
57,252 KB
testcase_02 AC 131 ms
57,628 KB
testcase_03 AC 130 ms
57,620 KB
testcase_04 AC 130 ms
57,544 KB
testcase_05 AC 130 ms
57,688 KB
testcase_06 AC 131 ms
57,772 KB
testcase_07 AC 127 ms
57,452 KB
testcase_08 AC 130 ms
57,568 KB
testcase_09 AC 127 ms
57,668 KB
testcase_10 AC 132 ms
57,808 KB
testcase_11 AC 131 ms
57,708 KB
testcase_12 AC 131 ms
57,508 KB
testcase_13 AC 131 ms
57,628 KB
testcase_14 AC 129 ms
57,756 KB
testcase_15 AC 130 ms
57,544 KB
testcase_16 AC 130 ms
57,368 KB
testcase_17 AC 132 ms
57,388 KB
testcase_18 AC 131 ms
57,856 KB
testcase_19 AC 131 ms
57,560 KB
testcase_20 AC 131 ms
57,652 KB
testcase_21 AC 133 ms
57,772 KB
testcase_22 AC 130 ms
57,852 KB
testcase_23 AC 130 ms
57,600 KB
testcase_24 AC 128 ms
57,380 KB
testcase_25 AC 128 ms
57,380 KB
testcase_26 AC 129 ms
57,352 KB
testcase_27 AC 129 ms
57,568 KB
testcase_28 AC 131 ms
57,628 KB
testcase_29 AC 129 ms
57,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.math.BigDecimal;
import java.util.Scanner;

public class No_285 {
public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);
	long D = sc.nextLong();
	sc.close();
	BigDecimal BDD = new BigDecimal(D);
	BigDecimal zei = new BigDecimal("1.08");
	BigDecimal Val = BDD.multiply(zei);
	System.out.println(Val);
}
}
0