結果

問題 No.46 はじめのn歩
ユーザー f Oxf Ox
提出日時 2021-04-12 09:37:14
言語 JavaScript
(node v21.7.1)
結果
TLE  
実行時間 -
コード長 242 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 5,256 KB
実行使用メモリ 49,672 KB
最終ジャッジ日時 2023-09-10 15:41:50
合計ジャッジ時間 9,161 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
42,236 KB
testcase_01 AC 76 ms
42,280 KB
testcase_02 AC 78 ms
42,324 KB
testcase_03 AC 76 ms
42,168 KB
testcase_04 AC 75 ms
42,300 KB
testcase_05 AC 75 ms
42,140 KB
testcase_06 AC 78 ms
44,240 KB
testcase_07 AC 79 ms
42,280 KB
testcase_08 TLE -
testcase_09 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  const data = input.split(" ");
  const a = data[0];
  const b = data[1];

  let count = 0;

  for (i=0; (a*i)<b; i++){
    count ++;
  }

  console.log(count);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0