結果

問題 No.445 得点
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-09-08 23:20:59
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 561 bytes
コンパイル時間 3,220 ms
コンパイル使用メモリ 73,176 KB
実行使用メモリ 37,136 KB
最終ジャッジ日時 2024-04-24 21:28:47
合計ジャッジ時間 5,597 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
36,864 KB
testcase_01 AC 52 ms
36,640 KB
testcase_02 AC 52 ms
36,932 KB
testcase_03 AC 55 ms
36,996 KB
testcase_04 AC 55 ms
36,580 KB
testcase_05 AC 59 ms
36,920 KB
testcase_06 AC 54 ms
36,884 KB
testcase_07 AC 51 ms
36,620 KB
testcase_08 AC 52 ms
37,136 KB
testcase_09 AC 52 ms
36,688 KB
testcase_10 AC 51 ms
36,952 KB
testcase_11 AC 54 ms
36,536 KB
testcase_12 AC 51 ms
36,832 KB
testcase_13 AC 52 ms
36,580 KB
testcase_14 AC 52 ms
36,640 KB
testcase_15 AC 52 ms
36,924 KB
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 51 ms
37,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import static java.lang.System.in;

public class No445 {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        String[] inputs = reader.readLine().split(" ");
        int A = Integer.parseInt(inputs[0]);
        int B = Integer.parseInt(inputs[1]);

        int answer = 50 * A + (int) Math.floor((50 * A) / (0.8 + 0.2 * B));

        System.out.println(answer);
    }
}
0