結果

問題 No.46 はじめのn歩
ユーザー mahnamahna
提出日時 2022-06-05 21:25:20
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 68 ms / 5,000 ms
コード長 208 bytes
コンパイル時間 63 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 37,412 KB
最終ジャッジ日時 2023-10-21 03:18:09
合計ジャッジ時間 3,702 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
37,412 KB
testcase_01 AC 63 ms
37,412 KB
testcase_02 AC 62 ms
37,412 KB
testcase_03 AC 68 ms
37,412 KB
testcase_04 AC 65 ms
37,412 KB
testcase_05 AC 66 ms
37,412 KB
testcase_06 AC 67 ms
37,412 KB
testcase_07 AC 66 ms
37,412 KB
testcase_08 AC 65 ms
37,412 KB
testcase_09 AC 67 ms
37,412 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

let [a,b] = lines[0].split(" ").map( x => Number(x));

console.log(Math.ceil(b / a));

0