結果

問題 No.46 はじめのn歩
ユーザー mahna
提出日時 2021-02-10 16:04:40
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 67 ms / 5,000 ms
コード長 360 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 6,940 KB
実行使用メモリ 42,304 KB
最終ジャッジ日時 2024-07-08 02:23:43
合計ジャッジ時間 2,645 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

process.stdin.resume();
process.stdin.setEncoding('utf8');

var input_lines = [];
var reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});

reader.on('line', (line) => {
  input_lines.push(line);
});

reader.on('close', () => {

    let [a,b] = input_lines[0].split(" ");
    console.log(Math.ceil( b / a));

});
0