結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー testestesttestestest
提出日時 2017-04-30 16:07:16
言語 cLay
(20240104-1)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 2,219 ms
コンパイル使用メモリ 160,624 KB
実行使用メモリ 6,500 KB
最終ジャッジ日時 2023-08-08 06:14:36
合計ジャッジ時間 6,714 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 135 ms
6,292 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 51 ms
5,024 KB
testcase_03 AC 98 ms
5,892 KB
testcase_04 AC 135 ms
6,356 KB
testcase_05 AC 134 ms
6,428 KB
testcase_06 AC 135 ms
6,296 KB
testcase_07 AC 134 ms
6,500 KB
testcase_08 AC 134 ms
6,500 KB
testcase_09 AC 134 ms
6,300 KB
testcase_10 AC 122 ms
6,220 KB
testcase_11 AC 128 ms
6,216 KB
testcase_12 AC 117 ms
6,084 KB
testcase_13 AC 123 ms
6,188 KB
testcase_14 AC 128 ms
6,296 KB
testcase_15 AC 114 ms
6,064 KB
testcase_16 AC 134 ms
6,312 KB
testcase_17 AC 134 ms
6,308 KB
testcase_18 AC 135 ms
6,292 KB
testcase_19 AC 135 ms
6,380 KB
testcase_20 AC 134 ms
6,352 KB
testcase_21 AC 134 ms
6,296 KB
testcase_22 AC 121 ms
6,124 KB
testcase_23 AC 128 ms
6,296 KB
testcase_24 AC 1 ms
4,376 KB
testcase_25 AC 4 ms
4,376 KB
testcase_26 AC 3 ms
4,376 KB
testcase_27 AC 3 ms
4,380 KB
testcase_28 AC 23 ms
4,376 KB
testcase_29 AC 12 ms
4,376 KB
testcase_30 AC 5 ms
4,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

double u=1e9,d=1e-9,m;ll a[2d5],n,k,s;{rd(n,a(n),k);rep(t,99)s=1,m=(u+d)/2,s+=a[0..n-1]/m,s>k?d=m:(u=m);wt(u);}
0