結果

問題 No.379 五円硬貨
ユーザー yuma_shobon1108yuma_shobon1108
提出日時 2016-11-11 18:57:14
言語 Java
(openjdk 23)
結果
WA  
実行時間 -
コード長 329 bytes
コンパイル時間 2,065 ms
コンパイル使用メモリ 73,848 KB
実行使用メモリ 46,468 KB
最終ジャッジ日時 2024-11-25 08:20:14
合計ジャッジ時間 5,252 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 7 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

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

	}
}
0