結果

問題 No.508 超ゆとり教育
ユーザー test
提出日時 2022-11-24 17:41:23
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 67 ms / 2,000 ms
コード長 199 bytes
コンパイル時間 57 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 40,944 KB
最終ジャッジ日時 2024-10-01 07:37:13
合計ジャッジ時間 1,380 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

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