結果
| 問題 | No.1162 Many Quotients hard |
| ユーザー |
👑 |
| 提出日時 | 2022-03-23 15:31:19 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 26 ms / 2,000 ms |
| + 21µs | |
| コード長 | 90 bytes |
| 記録 | |
| コンパイル時間 | 104 ms |
| コンパイル使用メモリ | 81,024 KB |
| 実行使用メモリ | 54,656 KB |
| 最終ジャッジ日時 | 2026-09-14 03:46:04 |
| 合計ジャッジ時間 | 3,392 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 42 |
ソースコード
n = int(input())
x = int(n ** 0.5) + 5
while x * x > n:
x -= 1
print(x + n // (x + 1))