結果

問題 No.379 五円硬貨
ユーザー RinRin
提出日時 2016-09-09 11:43:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 1,000 ms
コード長 331 bytes
コンパイル時間 3,317 ms
コンパイル使用メモリ 71,952 KB
実行使用メモリ 56,556 KB
最終ジャッジ日時 2023-08-10 05:07:35
合計ジャッジ時間 6,815 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 122 ms
55,652 KB
testcase_01 AC 124 ms
56,176 KB
testcase_02 AC 123 ms
56,132 KB
testcase_03 AC 123 ms
56,408 KB
testcase_04 AC 123 ms
56,196 KB
testcase_05 AC 122 ms
55,808 KB
testcase_06 AC 123 ms
56,000 KB
testcase_07 AC 122 ms
56,020 KB
testcase_08 AC 124 ms
56,152 KB
testcase_09 AC 124 ms
55,856 KB
testcase_10 AC 122 ms
56,060 KB
testcase_11 AC 123 ms
56,556 KB
testcase_12 AC 122 ms
56,216 KB
testcase_13 AC 122 ms
56,508 KB
testcase_14 AC 122 ms
56,148 KB
testcase_15 AC 125 ms
56,484 KB
testcase_16 AC 125 ms
56,132 KB
testcase_17 AC 124 ms
56,064 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class b {
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		long N = sc.nextLong();
		long G = sc.nextLong();
		long V = sc.nextLong();
		long foo = N / 5;
		double tmp = (G * foo);
		double i_o = V;
		double bar = tmp / V;
		System.out.printf("%.12f\n", bar);
	}
}
0