結果

問題 No.56 消費税
ユーザー n3k2t1n3k2t1
提出日時 2019-07-09 10:48:10
言語 JavaScript
(node v20.8.0)
結果
AC  
実行時間 77 ms / 5,000 ms
コード長 208 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 5,360 KB
実行使用メモリ 42,484 KB
最終ジャッジ日時 2023-08-03 03:12:18
合計ジャッジ時間 3,588 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
42,228 KB
testcase_01 AC 74 ms
42,196 KB
testcase_02 AC 73 ms
42,152 KB
testcase_03 AC 76 ms
42,348 KB
testcase_04 AC 74 ms
42,132 KB
testcase_05 AC 77 ms
42,152 KB
testcase_06 AC 75 ms
42,284 KB
testcase_07 AC 75 ms
42,156 KB
testcase_08 AC 76 ms
42,184 KB
testcase_09 AC 76 ms
42,340 KB
testcase_10 AC 73 ms
42,244 KB
testcase_11 AC 76 ms
42,484 KB
testcase_12 AC 74 ms
42,268 KB
testcase_13 AC 72 ms
42,084 KB
testcase_14 AC 75 ms
42,348 KB
testcase_15 AC 75 ms
42,252 KB
testcase_16 AC 76 ms
42,348 KB
testcase_17 AC 75 ms
42,132 KB
testcase_18 AC 75 ms
42,348 KB
testcase_19 AC 74 ms
42,284 KB
testcase_20 AC 75 ms
42,140 KB
testcase_21 AC 76 ms
42,192 KB
testcase_22 AC 74 ms
42,276 KB
testcase_23 AC 73 ms
42,080 KB
testcase_24 AC 74 ms
42,184 KB
testcase_25 AC 75 ms
42,092 KB
testcase_26 AC 75 ms
42,080 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

const lines = require('fs')
  .readFileSync('/dev/stdin', 'utf-8')
  .trim().split('\n').values();

const [D, P] = lines.next().value.split(' ').map(x => Number(x));

console.log(Math.floor(D + P * D / 100));
0