結果

問題 No.285 消費税2
ユーザー Grenache
提出日時 2015-10-09 22:24:08
言語 Java
(openjdk 23)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 3,732 ms
コンパイル使用メモリ 74,288 KB
実行使用メモリ 41,616 KB
最終ジャッジ日時 2024-07-20 02:27:14
合計ジャッジ時間 7,291 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 26
権限があれば一括ダウンロードができます

ソースコード

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