結果

問題 No.1798 Financial Quiz
ユーザー test
提出日時 2022-11-20 04:59:24
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 48 ms
コンパイル使用メモリ 6,812 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-09-21 07:54:54
合計ジャッジ時間 3,059 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    let src = input.replace("\n", "").split(" ");
    let N = parseInt(src[0]);
    let P = parseInt(src[1]);
    let ans = N - (N * P / 100);
    console.log(ans.toString());
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0