結果

問題 No.388 階段 (1)
ユーザー mahna
提出日時 2022-06-08 17:03:38
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 39,296 KB
最終ジャッジ日時 2024-09-21 05:11:27
合計ジャッジ時間 3,799 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

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

let ans = 1;
const [s,f] = lines[0].split(" ").map( x => Number(x));

ans += Math.floor(s / f);
console.log(ans);
0