結果

問題 No.445 得点
ユーザー shinwisteriashinwisteria
提出日時 2018-03-14 14:26:19
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 305 bytes
コンパイル時間 3,526 ms
コンパイル使用メモリ 77,384 KB
実行使用メモリ 41,992 KB
最終ジャッジ日時 2024-05-05 14:35:12
合計ジャッジ時間 6,140 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 120 ms
41,736 KB
testcase_01 AC 119 ms
40,700 KB
testcase_02 AC 113 ms
41,428 KB
testcase_03 AC 118 ms
41,548 KB
testcase_04 AC 110 ms
40,304 KB
testcase_05 AC 118 ms
41,364 KB
testcase_06 AC 114 ms
41,148 KB
testcase_07 AC 117 ms
41,504 KB
testcase_08 AC 116 ms
41,736 KB
testcase_09 AC 111 ms
40,696 KB
testcase_10 AC 112 ms
41,480 KB
testcase_11 AC 104 ms
40,304 KB
testcase_12 AC 115 ms
41,364 KB
testcase_13 AC 120 ms
41,276 KB
testcase_14 AC 115 ms
40,436 KB
testcase_15 AC 110 ms
40,484 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 126 ms
41,828 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

package m.shin;
import java.util.Scanner;
public class Con445 {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int a = s.nextInt();
		double b = s.nextDouble();
		s.close();

		double c = (50 * (double)a) / (0.8 + 0.2 * b);
		System.out.println(50 * a + (int)c);
	}

}
0