結果

問題 No.9003 小数誤差テスト(テスト用)
ユーザー yagi2yagi2
提出日時 2017-04-21 17:14:51
言語 Java21
(openjdk 21)
結果
AC  
実行時間 118 ms / 5,000 ms
コード長 303 bytes
コンパイル時間 1,916 ms
コンパイル使用メモリ 72,152 KB
実行使用メモリ 55,920 KB
最終ジャッジ日時 2023-09-20 21:21:36
合計ジャッジ時間 3,015 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,920 KB
testcase_01 AC 118 ms
55,700 KB
testcase_02 AC 117 ms
54,404 KB
testcase_03 AC 118 ms
55,776 KB
testcase_04 AC 116 ms
55,656 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double N = Double.parseDouble(sc.next());
        double e = (0.0001 * N) + N;

        System.out.println("decimal");
        System.out.println(e);
    }
}
0