結果

問題 No.379 五円硬貨
ユーザー satisfy5190satisfy5190
提出日時 2016-06-21 00:13:33
言語 Java21
(openjdk 21)
結果
AC  
実行時間 149 ms / 1,000 ms
コード長 292 bytes
コンパイル時間 2,264 ms
コンパイル使用メモリ 73,972 KB
実行使用メモリ 41,272 KB
最終ジャッジ日時 2024-04-19 23:31:35
合計ジャッジ時間 5,602 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
41,056 KB
testcase_01 AC 122 ms
40,868 KB
testcase_02 AC 139 ms
41,044 KB
testcase_03 AC 136 ms
41,272 KB
testcase_04 AC 132 ms
41,156 KB
testcase_05 AC 117 ms
39,720 KB
testcase_06 AC 138 ms
41,128 KB
testcase_07 AC 133 ms
41,172 KB
testcase_08 AC 132 ms
41,164 KB
testcase_09 AC 136 ms
41,108 KB
testcase_10 AC 143 ms
41,212 KB
testcase_11 AC 149 ms
41,228 KB
testcase_12 AC 137 ms
41,072 KB
testcase_13 AC 139 ms
40,952 KB
testcase_14 AC 143 ms
41,084 KB
testcase_15 AC 142 ms
41,092 KB
testcase_16 AC 127 ms
41,240 KB
testcase_17 AC 115 ms
40,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
class YukiCoder02 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long N =sc.nextLong();
		long G =sc.nextLong();
		long V =sc.nextLong();
		double m =(int)N/5;
		double k =m*G ;
		double n =k/V;

		System.out.println(n);

	}

}
0