結果

問題 No.508 超ゆとり教育
ユーザー testtest
提出日時 2022-11-24 17:41:23
言語 JavaScript
(node v20.8.0)
結果
AC  
実行時間 78 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 41,784 KB
最終ジャッジ日時 2023-07-24 12:20:44
合計ジャッジ時間 2,583 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 76 ms
41,784 KB
testcase_01 AC 76 ms
41,476 KB
testcase_02 AC 74 ms
41,532 KB
testcase_03 AC 76 ms
41,636 KB
testcase_04 AC 75 ms
41,552 KB
testcase_05 AC 78 ms
41,588 KB
testcase_06 AC 76 ms
41,632 KB
testcase_07 AC 76 ms
41,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    const n = parseInt(input.replace("\n", ""));
    let ans = Math.floor(Math.sqrt(n / 3)) + 1;
    console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0