結果

問題 No.1076 寿司打
ユーザー shinnshinnshinnshinn
提出日時 2020-06-14 18:08:08
言語 Java21
(openjdk 21)
結果
AC  
実行時間 115 ms / 2,000 ms
コード長 211 bytes
コンパイル時間 3,410 ms
コンパイル使用メモリ 70,816 KB
実行使用メモリ 56,412 KB
最終ジャッジ日時 2023-09-09 22:45:03
合計ジャッジ時間 5,185 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 114 ms
55,700 KB
testcase_01 AC 113 ms
55,752 KB
testcase_02 AC 112 ms
55,904 KB
testcase_03 AC 115 ms
55,772 KB
testcase_04 AC 113 ms
55,836 KB
testcase_05 AC 113 ms
55,560 KB
testcase_06 AC 114 ms
55,692 KB
testcase_07 AC 114 ms
55,672 KB
testcase_08 AC 113 ms
56,060 KB
testcase_09 AC 114 ms
55,568 KB
testcase_10 AC 114 ms
56,080 KB
testcase_11 AC 114 ms
56,196 KB
testcase_12 AC 115 ms
56,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double p = Double.parseDouble(scan.next());
		System.out.println(p/(1-p));
	}
}
0