結果
| 問題 | No.67 よくある棒を切る問題 (1) |
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2022-11-07 10:02:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 249 bytes |
| 記録 | |
| コンパイル時間 | 230 ms |
| コンパイル使用メモリ | 95,980 KB |
| 実行使用メモリ | 234,240 KB |
| 最終ジャッジ日時 | 2026-07-06 19:10:58 |
| 合計ジャッジ時間 | 8,957 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 TLE * 1 -- * 20 |
ソースコード
import sys input=lambda:sys.stdin.readline().rstrip() N=int(input()) L=list(map(int,input().split())) K=int(input()) m=[0.0,float(max(L))] while m[1]-m[0]>10**(-10): mid=sum(m)/2 count=0 for i in L: count+=int(i/mid) m[K>count]=mid print(m[1])
ytft