結果

問題 No.379 五円硬貨
ユーザー fjafjafjafjafjafja
提出日時 2017-09-16 13:55:09
言語 Java21
(openjdk 21)
結果
AC  
実行時間 153 ms / 1,000 ms
コード長 266 bytes
コンパイル時間 3,506 ms
コンパイル使用メモリ 74,508 KB
実行使用メモリ 54,604 KB
最終ジャッジ日時 2024-04-25 14:33:22
合計ジャッジ時間 6,832 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 144 ms
54,336 KB
testcase_01 AC 144 ms
54,528 KB
testcase_02 AC 144 ms
54,500 KB
testcase_03 AC 143 ms
54,516 KB
testcase_04 AC 141 ms
54,352 KB
testcase_05 AC 142 ms
54,500 KB
testcase_06 AC 153 ms
54,272 KB
testcase_07 AC 149 ms
54,292 KB
testcase_08 AC 143 ms
54,104 KB
testcase_09 AC 144 ms
54,548 KB
testcase_10 AC 132 ms
53,472 KB
testcase_11 AC 151 ms
54,292 KB
testcase_12 AC 146 ms
54,388 KB
testcase_13 AC 144 ms
54,300 KB
testcase_14 AC 146 ms
54,364 KB
testcase_15 AC 147 ms
54,604 KB
testcase_16 AC 131 ms
53,828 KB
testcase_17 AC 129 ms
54,404 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class N379 {
	public static void main(String[] args)
	{
		Scanner sc=new Scanner(System.in);
		long N=sc.nextLong();double G=sc.nextDouble(),V=sc.nextDouble();
		N=N/5;
		G=G/V;
		double ans=N*G;
		System.out.printf("%.13f",ans);
}}
0