結果

問題 No.46 はじめのn歩
ユーザー Takuya ItoTakuya Ito
提出日時 2022-11-06 08:59:01
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 82 ms / 5,000 ms
コード長 191 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 42,448 KB
最終ジャッジ日時 2023-09-27 05:54:20
合計ジャッジ時間 1,707 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
42,344 KB
testcase_01 AC 81 ms
42,192 KB
testcase_02 AC 80 ms
42,344 KB
testcase_03 AC 80 ms
42,244 KB
testcase_04 AC 80 ms
42,180 KB
testcase_05 AC 80 ms
42,196 KB
testcase_06 AC 81 ms
42,196 KB
testcase_07 AC 80 ms
42,116 KB
testcase_08 AC 80 ms
42,448 KB
testcase_09 AC 79 ms
42,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  const nums = input.split(' ').map(str => parseInt(str, 10));
  console.log( Math.ceil(nums[1] / nums[0]) );
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0