結果

問題 No.445 得点
ユーザー atkrymatkrym
提出日時 2016-12-28 10:36:31
言語 Java21
(openjdk 21)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 360 bytes
コンパイル時間 2,007 ms
コンパイル使用メモリ 71,332 KB
実行使用メモリ 56,476 KB
最終ジャッジ日時 2023-08-22 16:48:30
合計ジャッジ時間 5,438 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 116 ms
56,024 KB
testcase_01 AC 116 ms
55,832 KB
testcase_02 AC 117 ms
56,280 KB
testcase_03 AC 116 ms
55,788 KB
testcase_04 AC 117 ms
56,476 KB
testcase_05 AC 116 ms
55,468 KB
testcase_06 AC 117 ms
55,888 KB
testcase_07 AC 115 ms
56,056 KB
testcase_08 AC 119 ms
56,268 KB
testcase_09 AC 115 ms
55,848 KB
testcase_10 AC 117 ms
56,088 KB
testcase_11 AC 116 ms
55,968 KB
testcase_12 AC 115 ms
56,096 KB
testcase_13 AC 116 ms
55,796 KB
testcase_14 AC 116 ms
55,972 KB
testcase_15 AC 117 ms
56,040 KB
testcase_16 AC 116 ms
56,088 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 116 ms
56,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
import java.math.*;

public class Main {
    private static Scanner sc = new Scanner(System.in);
    public static void main(String[] args) throws Exception {
        int n = sc.nextInt();
        int k = sc.nextInt();
        
        int ret = n*50+(int)Math.floor((n*50)/(0.8f+0.2f*k));
        
        System.out.println(ret);
    }
}
0