結果
| 問題 | No.1162 Many Quotients hard |
| ユーザー |
👑 |
| 提出日時 | 2022-03-23 15:31:19 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 32 ms / 2,000 ms |
| + 119µs | |
| コード長 | 90 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 64,688 KB |
| 実行使用メモリ | 53,980 KB |
| 最終ジャッジ日時 | 2026-10-29 19:28:56 |
| 合計ジャッジ時間 | 3,342 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 43 |
ソースコード
n = int(input())
x = int(n ** 0.5) + 5
while x * x > n:
x -= 1
print(x + n // (x + 1))