結果

問題 No.9003 小数誤差テスト(テスト用)
ユーザー yagi2yagi2
提出日時 2017-04-21 17:13:11
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 302 bytes
コンパイル時間 2,434 ms
コンパイル使用メモリ 72,808 KB
実行使用メモリ 56,104 KB
最終ジャッジ日時 2023-09-20 21:21:25
合計ジャッジ時間 4,330 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 115 ms
55,668 KB
testcase_03 WA -
testcase_04 AC 118 ms
56,104 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.001 * N) + N;

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