結果

問題 No.1076 寿司打
ユーザー tentententen
提出日時 2020-08-19 11:18:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 144 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 2,002 ms
コンパイル使用メモリ 73,980 KB
実行使用メモリ 42,064 KB
最終ジャッジ日時 2024-04-20 08:15:37
合計ジャッジ時間 4,647 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 143 ms
41,644 KB
testcase_01 AC 144 ms
41,632 KB
testcase_02 AC 142 ms
41,664 KB
testcase_03 AC 142 ms
41,412 KB
testcase_04 AC 140 ms
41,852 KB
testcase_05 AC 140 ms
42,064 KB
testcase_06 AC 141 ms
41,348 KB
testcase_07 AC 143 ms
41,704 KB
testcase_08 AC 142 ms
41,596 KB
testcase_09 AC 143 ms
41,776 KB
testcase_10 AC 142 ms
41,420 KB
testcase_11 AC 141 ms
41,680 KB
testcase_12 AC 140 ms
41,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
    static final int MOD = 1000000007;
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(1 / (1 - sc.nextDouble()) - 1);
    }
} 
0