結果

問題 No.379 五円硬貨
ユーザー hanorverhanorver
提出日時 2016-06-18 00:16:44
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 476 bytes
コンパイル時間 2,038 ms
コンパイル使用メモリ 75,124 KB
実行使用メモリ 50,988 KB
最終ジャッジ日時 2024-04-17 23:59:30
合計ジャッジ時間 3,608 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
37,456 KB
testcase_01 AC 51 ms
37,572 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 52 ms
37,704 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 53 ms
37,036 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 55 ms
37,464 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.math.BigDecimal;
import java.io.*;

public class Main {
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String s = br.readLine();
		
		long val[] = new long[3];
		String str[] = s.split(" ");
		for(int i = 0; i < 3; i++){
			val[i] = Long.parseLong(str[i]);
		}
		
		BigDecimal ans = new BigDecimal(1.0 * val[0] * (val[1] / 5) / val[2]);
		
		System.out.println(ans);
	}
}
0