結果

問題 No.285 消費税2
ユーザー GrenacheGrenache
提出日時 2015-10-09 22:24:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 129 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 3,183 ms
コンパイル使用メモリ 71,824 KB
実行使用メモリ 56,600 KB
最終ジャッジ日時 2023-09-27 08:21:16
合計ジャッジ時間 8,325 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
56,120 KB
testcase_01 AC 128 ms
56,024 KB
testcase_02 AC 128 ms
56,600 KB
testcase_03 AC 127 ms
55,812 KB
testcase_04 AC 126 ms
55,912 KB
testcase_05 AC 127 ms
56,160 KB
testcase_06 AC 126 ms
56,404 KB
testcase_07 AC 126 ms
56,168 KB
testcase_08 AC 127 ms
56,112 KB
testcase_09 AC 126 ms
56,120 KB
testcase_10 AC 127 ms
56,108 KB
testcase_11 AC 127 ms
56,184 KB
testcase_12 AC 128 ms
56,024 KB
testcase_13 AC 129 ms
56,232 KB
testcase_14 AC 128 ms
55,628 KB
testcase_15 AC 127 ms
56,128 KB
testcase_16 AC 125 ms
56,144 KB
testcase_17 AC 127 ms
55,824 KB
testcase_18 AC 128 ms
56,320 KB
testcase_19 AC 126 ms
55,732 KB
testcase_20 AC 127 ms
55,916 KB
testcase_21 AC 126 ms
56,148 KB
testcase_22 AC 129 ms
56,192 KB
testcase_23 AC 127 ms
56,096 KB
testcase_24 AC 125 ms
54,292 KB
testcase_25 AC 127 ms
55,992 KB
testcase_26 AC 126 ms
56,168 KB
testcase_27 AC 126 ms
56,188 KB
testcase_28 AC 127 ms
55,740 KB
testcase_29 AC 128 ms
56,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;


public class Main_yukicoder285 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        long d = sc.nextLong();
        d *= 108;
        
        System.out.printf("%.12f\n", (double)d / 100);

        sc.close();
    }
}
0