結果

問題 No.56 消費税
ユーザー jcm_2
提出日時 2019-08-12 16:45:30
言語 JavaScript
(node v23.5.0)
結果
WA  
実行時間 -
コード長 258 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 41,340 KB
最終ジャッジ日時 2024-10-13 01:19:50
合計ジャッジ時間 2,536 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 2
other AC * 16 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  const data = input.trim().split("\n")
  const first_line = data[0].split(" ")
  const D = parseInt(first_line[0]), P = parseInt(first_line[1])
  console.log(D + (D * P * 0.01))
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"))
0