結果

問題 No.285 消費税2
ユーザー takeya_okinotakeya_okino
提出日時 2017-06-25 14:14:16
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 232 bytes
コンパイル時間 1,979 ms
コンパイル使用メモリ 73,792 KB
実行使用メモリ 54,644 KB
最終ジャッジ日時 2024-04-15 01:22:18
合計ジャッジ時間 7,194 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
54,240 KB
testcase_01 AC 137 ms
54,120 KB
testcase_02 AC 138 ms
54,340 KB
testcase_03 AC 134 ms
54,404 KB
testcase_04 AC 136 ms
54,156 KB
testcase_05 AC 141 ms
54,248 KB
testcase_06 AC 139 ms
54,488 KB
testcase_07 AC 139 ms
54,300 KB
testcase_08 AC 137 ms
54,228 KB
testcase_09 AC 138 ms
54,452 KB
testcase_10 AC 135 ms
54,532 KB
testcase_11 AC 137 ms
54,408 KB
testcase_12 AC 136 ms
54,644 KB
testcase_13 AC 138 ms
54,532 KB
testcase_14 AC 147 ms
54,292 KB
testcase_15 AC 139 ms
54,244 KB
testcase_16 AC 127 ms
53,780 KB
testcase_17 AC 140 ms
54,344 KB
testcase_18 AC 139 ms
54,052 KB
testcase_19 AC 137 ms
54,024 KB
testcase_20 AC 142 ms
54,044 KB
testcase_21 AC 138 ms
54,368 KB
testcase_22 WA -
testcase_23 AC 137 ms
54,432 KB
testcase_24 AC 132 ms
54,248 KB
testcase_25 AC 134 ms
54,368 KB
testcase_26 AC 132 ms
54,240 KB
testcase_27 AC 135 ms
54,572 KB
testcase_28 AC 133 ms
54,228 KB
testcase_29 AC 132 ms
53,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    double D = sc.nextDouble();
    double ans = 0.08 * D;
    ans += D;
    System.out.println(ans);
  }
}
0