結果

問題 No.379 五円硬貨
ユーザー yuiyui
提出日時 2017-02-20 18:28:36
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 286 bytes
コンパイル時間 1,992 ms
コンパイル使用メモリ 71,532 KB
実行使用メモリ 56,548 KB
最終ジャッジ日時 2023-08-28 21:35:54
合計ジャッジ時間 5,555 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 136 ms
55,976 KB
testcase_04 AC 135 ms
56,172 KB
testcase_05 WA -
testcase_06 AC 136 ms
56,388 KB
testcase_07 AC 135 ms
55,912 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 139 ms
55,796 KB
testcase_17 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		float numA = sc.nextFloat();
		float numB = sc.nextFloat()/5;
		float numC = sc.nextFloat();
		float numD = numA*numB;
		System.out.println(numD/numC);

	}
}
0