結果

問題 No.445 得点
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-09-08 23:27:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 537 bytes
コンパイル時間 4,407 ms
コンパイル使用メモリ 71,668 KB
実行使用メモリ 50,024 KB
最終ジャッジ日時 2023-09-12 15:09:09
合計ジャッジ時間 4,958 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
50,024 KB
testcase_01 AC 41 ms
49,312 KB
testcase_02 AC 41 ms
49,320 KB
testcase_03 AC 41 ms
49,496 KB
testcase_04 AC 41 ms
49,276 KB
testcase_05 AC 41 ms
49,604 KB
testcase_06 AC 41 ms
49,252 KB
testcase_07 AC 42 ms
49,344 KB
testcase_08 AC 41 ms
49,360 KB
testcase_09 AC 42 ms
49,276 KB
testcase_10 AC 42 ms
49,444 KB
testcase_11 AC 42 ms
49,504 KB
testcase_12 AC 42 ms
49,252 KB
testcase_13 AC 42 ms
49,336 KB
testcase_14 AC 42 ms
49,300 KB
testcase_15 AC 41 ms
49,492 KB
testcase_16 AC 42 ms
49,288 KB
testcase_17 AC 42 ms
49,184 KB
testcase_18 AC 42 ms
49,280 KB
testcase_19 AC 41 ms
49,536 KB
testcase_20 AC 43 ms
49,308 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 + (250 * A) / (4 + B);

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