結果

問題 No.1798 Financial Quiz
ユーザー monaka
提出日時 2022-01-04 14:34:32
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 8,369 ms
コンパイル使用メモリ 229,916 KB
実行使用メモリ 39,552 KB
最終ジャッジ日時 2024-12-31 16:43:29
合計ジャッジ時間 9,527 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

function main(input) {
  const [n, p] = input[0].split(" ").map(x=>Number(x));
  console.log(Math.floor((100 - p) / 100 * n));
}

main(require("fs").readFileSync("/dev/stdin", "utf8").split("\n"));
0