結果

問題 No.56 消費税
ユーザー f Oxf Ox
提出日時 2021-04-14 22:44:28
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 235 bytes
コンパイル時間 242 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 44,192 KB
最終ジャッジ日時 2023-09-13 12:32:13
合計ジャッジ時間 4,915 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
41,860 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 78 ms
41,888 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 77 ms
41,892 KB
testcase_10 AC 80 ms
42,036 KB
testcase_11 AC 81 ms
42,120 KB
testcase_12 AC 79 ms
42,048 KB
testcase_13 AC 78 ms
42,120 KB
testcase_14 AC 77 ms
42,104 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 76 ms
41,964 KB
testcase_18 AC 78 ms
41,876 KB
testcase_19 AC 79 ms
41,964 KB
testcase_20 AC 77 ms
42,044 KB
testcase_21 AC 78 ms
41,988 KB
testcase_22 AC 78 ms
42,100 KB
testcase_23 AC 77 ms
42,044 KB
testcase_24 AC 79 ms
41,880 KB
testcase_25 AC 79 ms
41,872 KB
testcase_26 AC 78 ms
42,052 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  const data = input.split(" ");
  const D = Number(data[0]);
  const P = Number(data[1]);

  const answer = ((D*P)+(D*100))/100;
  console.log(answer);

}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0