結果

問題 No.9003 小数誤差テスト(テスト用)
ユーザー l1267976
提出日時 2017-03-09 14:50:23
言語 Java
(openjdk 23)
結果
AC  
実行時間 134 ms / 5,000 ms
コード長 318 bytes
コンパイル時間 2,998 ms
コンパイル使用メモリ 74,836 KB
実行使用メモリ 54,376 KB
最終ジャッジ日時 2024-07-06 16:08:56
合計ジャッジ時間 4,147 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class No9003 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double n = sc.nextDouble();
        double err = (0.0001 * n) + n;

        System.out.println("decimal");
        System.out.println(err);

        sc.close();
    }

}
0