結果

問題 No.445 得点
ユーザー GoryudyumaGoryudyuma
提出日時 2017-03-15 08:53:54
言語 Java21
(openjdk 21)
結果
AC  
実行時間 123 ms / 2,000 ms
コード長 320 bytes
コンパイル時間 2,030 ms
コンパイル使用メモリ 71,912 KB
実行使用メモリ 56,384 KB
最終ジャッジ日時 2023-09-12 12:25:08
合計ジャッジ時間 5,736 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,724 KB
testcase_01 AC 118 ms
55,768 KB
testcase_02 AC 117 ms
56,072 KB
testcase_03 AC 117 ms
55,844 KB
testcase_04 AC 120 ms
56,180 KB
testcase_05 AC 119 ms
55,508 KB
testcase_06 AC 119 ms
55,556 KB
testcase_07 AC 121 ms
55,596 KB
testcase_08 AC 122 ms
55,596 KB
testcase_09 AC 122 ms
55,560 KB
testcase_10 AC 121 ms
55,948 KB
testcase_11 AC 121 ms
56,204 KB
testcase_12 AC 122 ms
55,604 KB
testcase_13 AC 120 ms
55,668 KB
testcase_14 AC 122 ms
55,812 KB
testcase_15 AC 120 ms
55,516 KB
testcase_16 AC 121 ms
55,588 KB
testcase_17 AC 121 ms
56,384 KB
testcase_18 AC 121 ms
56,088 KB
testcase_19 AC 123 ms
55,816 KB
testcase_20 AC 120 ms
55,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
        public static void main(String args[]) {
                try (Scanner sc = new Scanner(System.in)) {
                        int N = sc.nextInt(), K = sc.nextInt();
                        System.out.println(50 * N + (int)(50*N/(0.8+0.2*K)+ 0.01));
                }
        }
}
0