結果
| 問題 |
No.67 よくある棒を切る問題 (1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-17 16:21:30 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 1,238 ms / 5,000 ms |
| コード長 | 231 bytes |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 82,964 KB |
| 実行使用メモリ | 112,096 KB |
| 最終ジャッジ日時 | 2025-06-17 16:21:56 |
| 合計ジャッジ時間 | 25,371 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
import sys
read=sys.stdin.buffer.read
readline=sys.stdin.buffer.readline
N,*L,K=map(int,read().split())
l,r=0,10**9
for _ in range(100):
m=(l+r)/2
cnt=sum(l//m for l in L)
if cnt>=K:l=m
else:r=m
print("{:.15f}".format(l))