結果

問題 No.379 五円硬貨
ユーザー ぴろずぴろず
提出日時 2016-06-17 22:25:25
言語 Java21
(openjdk 21)
結果
AC  
実行時間 145 ms / 1,000 ms
コード長 330 bytes
コンパイル時間 2,289 ms
コンパイル使用メモリ 74,444 KB
実行使用メモリ 54,680 KB
最終ジャッジ日時 2024-04-17 22:56:30
合計ジャッジ時間 5,128 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
54,360 KB
testcase_01 AC 138 ms
53,968 KB
testcase_02 AC 135 ms
54,148 KB
testcase_03 AC 136 ms
54,308 KB
testcase_04 AC 136 ms
54,576 KB
testcase_05 AC 138 ms
54,348 KB
testcase_06 AC 145 ms
54,652 KB
testcase_07 AC 138 ms
54,008 KB
testcase_08 AC 133 ms
54,332 KB
testcase_09 AC 135 ms
54,432 KB
testcase_10 AC 140 ms
54,536 KB
testcase_11 AC 142 ms
54,124 KB
testcase_12 AC 131 ms
54,604 KB
testcase_13 AC 143 ms
54,260 KB
testcase_14 AC 144 ms
54,680 KB
testcase_15 AC 140 ms
54,044 KB
testcase_16 AC 140 ms
54,160 KB
testcase_17 AC 130 ms
53,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package no379;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		double g = sc.nextDouble();
		double v = sc.nextDouble();
		
		double yomenai = (n / 5) * g;
		System.out.println(String.format("%.13f",yomenai / v));
	}

}
0