結果

問題 No.379 五円硬貨
ユーザー nCk_cvnCk_cv
提出日時 2016-07-01 20:39:10
言語 Java21
(openjdk 21)
結果
AC  
実行時間 130 ms / 1,000 ms
コード長 422 bytes
コンパイル時間 2,775 ms
コンパイル使用メモリ 79,200 KB
実行使用メモリ 41,628 KB
最終ジャッジ日時 2024-04-20 05:05:21
合計ジャッジ時間 5,139 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 124 ms
41,468 KB
testcase_01 AC 122 ms
41,216 KB
testcase_02 AC 123 ms
41,304 KB
testcase_03 AC 114 ms
41,228 KB
testcase_04 AC 105 ms
41,280 KB
testcase_05 AC 121 ms
40,156 KB
testcase_06 AC 128 ms
41,448 KB
testcase_07 AC 126 ms
41,216 KB
testcase_08 AC 121 ms
41,396 KB
testcase_09 AC 110 ms
41,496 KB
testcase_10 AC 122 ms
41,376 KB
testcase_11 AC 120 ms
41,164 KB
testcase_12 AC 122 ms
41,444 KB
testcase_13 AC 107 ms
41,236 KB
testcase_14 AC 120 ms
40,108 KB
testcase_15 AC 122 ms
41,164 KB
testcase_16 AC 112 ms
41,628 KB
testcase_17 AC 130 ms
41,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.math.*;
import java.util.*;


public class Main {
	static int[] vy = {1,0,-1,0};
	static int[] vx = {0,1,0,-1};
	public static void main(String[] args) {	
		Scanner sc = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		long N = sc.nextInt();
		long G = sc.nextInt();
		long V = sc.nextInt();
		N /= 5;
		G *= N;
		
		System.out.printf("%.20f\n",G / (double)V);
	}
}
0