結果

問題 No.46 はじめのn歩
ユーザー swyroak
提出日時 2021-07-31 00:40:48
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 65 ms / 5,000 ms
コード長 363 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-09-16 04:24:26
合計ジャッジ時間 1,438 ms
ジャッジサーバーID
(参考情報)
judge6 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

"use strict";
function Main(input) {
    const stride = Number(input.split(" ")[0]);
    const distance = Number(input.split(" ")[1]);
    const ans = Math.ceil(distance / stride);
    console.log(String(ans));
}
//テストの入力を受け取る
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
//Main("2 5");
//# sourceMappingURL=index.js.map
0