結果

問題 No.56 消費税
ユーザー f Oxf Ox
提出日時 2021-04-14 22:46:01
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 247 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 42,264 KB
最終ジャッジ日時 2023-09-13 12:34:12
合計ジャッジ時間 4,071 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
41,900 KB
testcase_01 AC 81 ms
41,900 KB
testcase_02 AC 79 ms
41,976 KB
testcase_03 AC 82 ms
41,976 KB
testcase_04 AC 80 ms
41,900 KB
testcase_05 AC 79 ms
42,024 KB
testcase_06 AC 80 ms
42,028 KB
testcase_07 AC 82 ms
42,264 KB
testcase_08 AC 81 ms
41,944 KB
testcase_09 AC 82 ms
42,260 KB
testcase_10 AC 79 ms
42,020 KB
testcase_11 AC 80 ms
42,232 KB
testcase_12 AC 78 ms
41,996 KB
testcase_13 AC 81 ms
42,120 KB
testcase_14 AC 80 ms
41,892 KB
testcase_15 AC 81 ms
42,256 KB
testcase_16 AC 79 ms
41,828 KB
testcase_17 AC 79 ms
41,888 KB
testcase_18 AC 82 ms
41,976 KB
testcase_19 AC 79 ms
41,972 KB
testcase_20 AC 82 ms
41,840 KB
testcase_21 AC 79 ms
41,808 KB
testcase_22 AC 82 ms
42,128 KB
testcase_23 AC 81 ms
42,188 KB
testcase_24 AC 79 ms
41,832 KB
testcase_25 AC 81 ms
41,884 KB
testcase_26 AC 79 ms
41,888 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(Math.floor(answer));

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