結果

問題 No.379 五円硬貨
ユーザー yuma_shobon1108
提出日時 2016-11-11 19:00:09
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 337 bytes
コンパイル時間 2,297 ms
コンパイル使用メモリ 74,268 KB
実行使用メモリ 54,340 KB
最終ジャッジ日時 2024-11-25 08:20:27
合計ジャッジ時間 5,347 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 10 WA * 6
権限があれば一括ダウンロードができます

ソースコード

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();
		
		long coin = yen / 5;
		long agas = coin * gas;
		double con = agas / v;
		
		System.out.println(con);

	}
}
0