結果

問題 No.445 得点
ユーザー kenji_shioyakenji_shioya
提出日時 2017-01-07 14:22:35
言語 Java21
(openjdk 21)
結果
RE  
実行時間 -
コード長 437 bytes
コンパイル時間 3,296 ms
コンパイル使用メモリ 73,032 KB
実行使用メモリ 58,228 KB
最終ジャッジ日時 2023-08-22 16:10:13
合計ジャッジ時間 7,179 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
55,856 KB
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 AC 122 ms
55,968 KB
testcase_13 RE -
testcase_14 AC 120 ms
56,068 KB
testcase_15 AC 120 ms
56,172 KB
testcase_16 AC 120 ms
55,828 KB
testcase_17 AC 121 ms
56,036 KB
testcase_18 AC 120 ms
55,616 KB
testcase_19 AC 121 ms
56,080 KB
testcase_20 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

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

public class Point {
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    BigDecimal b = new BigDecimal(sc.next());
    BigDecimal c = new BigDecimal("0.8");
    BigDecimal d = new BigDecimal("0.2");
    BigDecimal e = new BigDecimal(50*a);


    System.out.println(a * 50 + e.divide(c.add(d.multiply(b))).intValue());
  }
}
0