結果

問題 No.67 よくある棒を切る問題 (1)
ユーザー testestesttestestest
提出日時 2017-04-30 16:07:16
言語 cLay
(20240104-1)
結果
AC  
実行時間 135 ms / 5,000 ms
コード長 111 bytes
コンパイル時間 2,774 ms
コンパイル使用メモリ 173,976 KB
実行使用メモリ 7,252 KB
最終ジャッジ日時 2024-04-25 23:48:55
合計ジャッジ時間 6,845 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
6,820 KB
testcase_01 AC 2 ms
6,944 KB
testcase_02 AC 52 ms
6,944 KB
testcase_03 AC 98 ms
7,252 KB
testcase_04 AC 135 ms
6,944 KB
testcase_05 AC 134 ms
7,232 KB
testcase_06 AC 134 ms
6,944 KB
testcase_07 AC 134 ms
6,940 KB
testcase_08 AC 132 ms
6,940 KB
testcase_09 AC 133 ms
6,940 KB
testcase_10 AC 121 ms
6,944 KB
testcase_11 AC 127 ms
7,240 KB
testcase_12 AC 116 ms
6,948 KB
testcase_13 AC 122 ms
7,124 KB
testcase_14 AC 125 ms
6,952 KB
testcase_15 AC 114 ms
6,944 KB
testcase_16 AC 134 ms
7,012 KB
testcase_17 AC 133 ms
7,104 KB
testcase_18 AC 134 ms
6,940 KB
testcase_19 AC 134 ms
6,940 KB
testcase_20 AC 133 ms
6,940 KB
testcase_21 AC 132 ms
6,940 KB
testcase_22 AC 117 ms
6,940 KB
testcase_23 AC 129 ms
6,940 KB
testcase_24 AC 2 ms
6,944 KB
testcase_25 AC 4 ms
6,940 KB
testcase_26 AC 3 ms
6,944 KB
testcase_27 AC 3 ms
6,940 KB
testcase_28 AC 23 ms
6,940 KB
testcase_29 AC 12 ms
6,944 KB
testcase_30 AC 5 ms
6,940 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