結果

問題 No.477 MVP
ユーザー test
提出日時 2022-11-24 15:18:02
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 235 bytes
コンパイル時間 59 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 39,168 KB
最終ジャッジ日時 2024-10-01 06:06:54
合計ジャッジ時間 1,673 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    let src = input.replace("\n", "").split(" ");
    let a = BigInt(src[0]);
    let b = BigInt(src[1]);
    console.log((a / (b + 1n) + 1n).toString());
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0