結果

問題 No.379 五円硬貨
ユーザー yuma_shobon1108
提出日時 2016-11-11 19:03:40
言語 Java
(openjdk 23)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 341 bytes
コンパイル時間 1,755 ms
コンパイル使用メモリ 75,092 KB
実行使用メモリ 54,312 KB
最終ジャッジ日時 2024-11-25 08:21:10
合計ジャッジ時間 4,553 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class Question379
{
	public static void main(String[] args)
	{
	
		Scanner scan = new Scanner(System.in);
		
		long yen = scan.nextLong();
		long gas = scan.nextLong();
		long v = scan.nextLong();
		
		double coin = yen / 5;
		double agas = coin * gas;
		double con = agas / v;
		
		System.out.println(con);

	}
}
0