結果

問題 No.388 階段 (1)
ユーザー akuto1125
提出日時 2018-09-26 19:39:51
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 60 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 132 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 39,552 KB
最終ジャッジ日時 2024-10-13 00:42:03
合計ジャッジ時間 1,552 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

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