結果
問題 |
No.1286 Stone Skipping
|
ユーザー |
|
提出日時 | 2020-11-13 22:13:12 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 302 bytes |
コンパイル時間 | 335 ms |
コンパイル使用メモリ | 82,232 KB |
実行使用メモリ | 82,976 KB |
最終ジャッジ日時 | 2024-07-22 21:00:01 |
合計ジャッジ時間 | 4,586 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 10 TLE * 1 -- * 15 |
ソースコード
import math ma = int(input()) mi = ma//2 x = 0 while True: x = 0 for p in range(60): temp = math.floor(mi*(1/2)**p) if temp >= 1: x += temp if x == ma: print(mi) exit() else: mi += 1 break