結果
| 問題 |
No.1286 Stone Skipping
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-13 22:10:50 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 302 bytes |
| コンパイル時間 | 330 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 17,948 KB |
| 最終ジャッジ日時 | 2024-07-22 20:57:48 |
| 合計ジャッジ時間 | 4,560 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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