結果
| 問題 |
No.3037 トグルトグルトグル!
|
| ユーザー |
|
| 提出日時 | 2025-02-28 21:28:46 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 178 bytes |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 8,616 KB |
| 実行使用メモリ | 42,368 KB |
| 最終ジャッジ日時 | 2025-02-28 21:28:56 |
| 合計ジャッジ時間 | 4,096 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 4 TLE * 1 -- * 7 |
ソースコード
function Main(input) {
const N = BigInt(input);
let ans = 0n;
while (ans ** 2n <= N) ans++;
console.log((ans - 1n) + "");
}
Main(require("fs").readFileSync(0)+"")