結果

問題 No.1230 Hall_and_me
ユーザー 37zigen37zigen
提出日時 2020-09-23 05:48:38
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 456 bytes
コンパイル時間 2,065 ms
コンパイル使用メモリ 72,552 KB
実行使用メモリ 58,028 KB
最終ジャッジ日時 2023-09-09 15:49:58
合計ジャッジ時間 8,868 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 130 ms
56,112 KB
testcase_01 AC 128 ms
55,836 KB
testcase_02 AC 131 ms
55,888 KB
testcase_03 AC 128 ms
56,036 KB
testcase_04 AC 128 ms
55,856 KB
testcase_05 AC 128 ms
55,940 KB
testcase_06 AC 125 ms
56,088 KB
testcase_07 AC 127 ms
55,712 KB
testcase_08 AC 124 ms
55,912 KB
testcase_09 AC 127 ms
55,736 KB
testcase_10 AC 127 ms
53,964 KB
testcase_11 AC 127 ms
55,752 KB
testcase_12 AC 128 ms
55,752 KB
testcase_13 AC 126 ms
55,596 KB
testcase_14 AC 124 ms
56,000 KB
testcase_15 AC 125 ms
56,036 KB
testcase_16 AC 126 ms
55,880 KB
testcase_17 AC 128 ms
56,080 KB
testcase_18 AC 128 ms
55,700 KB
testcase_19 AC 127 ms
55,780 KB
testcase_20 AC 129 ms
55,600 KB
testcase_21 AC 130 ms
56,096 KB
testcase_22 AC 123 ms
55,440 KB
testcase_23 AC 126 ms
55,808 KB
testcase_24 AC 126 ms
55,944 KB
testcase_25 AC 125 ms
55,904 KB
testcase_26 AC 125 ms
55,916 KB
testcase_27 AC 126 ms
55,696 KB
testcase_28 AC 124 ms
53,804 KB
testcase_29 AC 126 ms
55,692 KB
testcase_30 AC 127 ms
55,452 KB
testcase_31 AC 126 ms
55,648 KB
testcase_32 AC 127 ms
55,736 KB
testcase_33 AC 128 ms
58,028 KB
testcase_34 AC 127 ms
55,688 KB
testcase_35 AC 126 ms
54,168 KB
testcase_36 AC 126 ms
55,360 KB
testcase_37 AC 126 ms
55,844 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Stack;

class Main {
	public static void main(String[] $) {
		new Main().run();
	}
	
	void run() {
		Scanner sc=new Scanner(System.in);
		int[] a=new int[3];
		for (int i=0;i<3;++i) a[i]=sc.nextInt();
		Arrays.sort(a);
		System.out.println(1-a[0]/(a[0]+a[1]+a[2]+.0));
		
		
	}
	
	void tr(Object...objects) {System.out.println(Arrays.deepToString(objects));}
}
0