結果

問題 No.379 五円硬貨
ユーザー nCk_cvnCk_cv
提出日時 2016-07-01 20:39:10
言語 Java19
(openjdk 21)
結果
AC  
実行時間 126 ms / 1,000 ms
コード長 422 bytes
コンパイル時間 2,048 ms
コンパイル使用メモリ 71,584 KB
実行使用メモリ 55,912 KB
最終ジャッジ日時 2023-08-02 05:02:25
合計ジャッジ時間 5,413 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,752 KB
testcase_01 AC 123 ms
55,476 KB
testcase_02 AC 120 ms
55,604 KB
testcase_03 AC 122 ms
55,708 KB
testcase_04 AC 121 ms
55,376 KB
testcase_05 AC 124 ms
53,344 KB
testcase_06 AC 121 ms
55,588 KB
testcase_07 AC 126 ms
55,888 KB
testcase_08 AC 122 ms
55,912 KB
testcase_09 AC 121 ms
55,392 KB
testcase_10 AC 121 ms
55,752 KB
testcase_11 AC 122 ms
55,912 KB
testcase_12 AC 124 ms
55,604 KB
testcase_13 AC 122 ms
55,840 KB
testcase_14 AC 123 ms
55,440 KB
testcase_15 AC 121 ms
55,384 KB
testcase_16 AC 122 ms
55,524 KB
testcase_17 AC 126 ms
55,448 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