結果

問題 No.379 五円硬貨
ユーザー 37zigen37zigen
提出日時 2016-06-17 22:33:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 140 ms / 1,000 ms
コード長 321 bytes
コンパイル時間 1,909 ms
コンパイル使用メモリ 74,488 KB
実行使用メモリ 41,808 KB
最終ジャッジ日時 2024-04-17 23:03:40
合計ジャッジ時間 4,914 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
41,176 KB
testcase_01 AC 115 ms
41,580 KB
testcase_02 AC 110 ms
40,968 KB
testcase_03 AC 121 ms
41,296 KB
testcase_04 AC 129 ms
41,564 KB
testcase_05 AC 132 ms
41,228 KB
testcase_06 AC 128 ms
41,440 KB
testcase_07 AC 129 ms
41,228 KB
testcase_08 AC 140 ms
41,380 KB
testcase_09 AC 123 ms
41,396 KB
testcase_10 AC 117 ms
41,564 KB
testcase_11 AC 129 ms
41,236 KB
testcase_12 AC 113 ms
41,808 KB
testcase_13 AC 117 ms
41,492 KB
testcase_14 AC 122 ms
41,300 KB
testcase_15 AC 116 ms
41,480 KB
testcase_16 AC 120 ms
41,336 KB
testcase_17 AC 114 ms
41,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package yukicoder;
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		new Main().solver();
	}
	void solver(){
		Scanner sc=new Scanner(System.in);
		int N=sc.nextInt();
		int G=sc.nextInt();
		int V=sc.nextInt();
		
		System.out.println((double)(N/5)*(double)G/((double)V));
		
	}
}
0