結果
問題 |
No.1162 Many Quotients hard
|
ユーザー |
|
提出日時 | 2022-03-23 15:31:19 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 47 ms / 2,000 ms |
コード長 | 90 bytes |
コンパイル時間 | 652 ms |
コンパイル使用メモリ | 81,792 KB |
実行使用メモリ | 52,352 KB |
最終ジャッジ日時 | 2024-10-11 18:05:00 |
合計ジャッジ時間 | 3,250 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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))