結果

問題 No.388 階段 (1)
ユーザー akuto1125akuto1125
提出日時 2018-09-26 19:39:51
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 61 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 271 ms
コンパイル使用メモリ 7,072 KB
実行使用メモリ 40,428 KB
最終ジャッジ日時 2024-04-21 02:12:03
合計ジャッジ時間 1,503 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 60 ms
38,656 KB
testcase_01 AC 61 ms
38,656 KB
testcase_02 AC 59 ms
38,656 KB
testcase_03 AC 58 ms
38,272 KB
testcase_04 AC 58 ms
38,400 KB
testcase_05 AC 58 ms
39,680 KB
testcase_06 AC 57 ms
38,784 KB
testcase_07 AC 58 ms
38,656 KB
testcase_08 AC 59 ms
40,428 KB
testcase_09 AC 57 ms
38,784 KB
testcase_10 AC 59 ms
40,300 KB
testcase_11 AC 58 ms
38,400 KB
testcase_12 AC 57 ms
38,272 KB
testcase_13 AC 58 ms
38,528 KB
testcase_14 AC 57 ms
38,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  input = input.split(' ');
  let temple_num = input[0];
  let home_num = input[1];

  let floor_num = Math.ceil(parseInt(temple_num / home_num)) + 1;
  console.log(floor_num);
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));
0