From a951f5c478a0f5b707e0b12354856f5091cf8e28 Mon Sep 17 00:00:00 2001 From: ljcjames Date: Mon, 22 Aug 2022 23:17:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 8.21/B-Light/Readme.md | 12 ++++++---- 8.21/B-Light/look | Bin 0 -> 20893 bytes 8.21/B-Light/main.cpp | 36 +++++++++++++++------------- 8.21/B-Light/tempCodeRunnerFile.cpp | 1 + 8.21/E-typewriter/E.pdf | 3 +++ 5 files changed, 32 insertions(+), 20 deletions(-) create mode 100644 8.21/B-Light/look create mode 100644 8.21/B-Light/tempCodeRunnerFile.cpp create mode 100644 8.21/E-typewriter/E.pdf diff --git a/8.21/B-Light/Readme.md b/8.21/B-Light/Readme.md index cc02b16..2c96c92 100644 --- a/8.21/B-Light/Readme.md +++ b/8.21/B-Light/Readme.md @@ -1,12 +1,16 @@ # 题目 * 链接 ### 题意 - +如图,求L +![](look) ### 做法 - +三分 +mid=(l+r)/2; +midr(mid+r)/2; +远离峰值的收缩 ### 关键词 - +三分 ### 易错点 -* +* 起始位置 ### 工具箱 * \ No newline at end of file diff --git a/8.21/B-Light/look b/8.21/B-Light/look new file mode 100644 index 0000000000000000000000000000000000000000..c22648f119a455f19730a71f3abba45f6053fbec GIT binary patch literal 20893 zcmd741wd3=+bFyT1{ius38lLmM5J>FVdxG40R;g;1VOsHLy#O&NbTAkd4FeqmS9QgdEa?_zqNFD-vX z{mZIA3k%nF)a6rdtf~>a9ye)P6TQ=PzPEU5TklD0i_N!p76u_3k=GpmI?7)tCM0=C zOR@q0_~On5vbtYJo34J_Ce-yY2(?SR{%6#`@=H;BJwP|>v=5%NT_yO|jK)Ok%n?E6 zJA(-3`@f_9g>C>vy4;fP-W9iVhMUP`Fm5OSYQ;%PC`=>ELA)Vd@aE(oUAJohhem{>Y zo-4a;?qND`Dzri-HsO@?Z~~G~oj7~PK4*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=n`A3-A90US7jPcLI z@(W|h`K@3<%kQpZL}YonDAiO5_>Q98OmdsxeJKicO0~KfOejZ6np6CU@TJRH4q)4i z7?2~@K$iAv>nR^zVm_F9{@Hsp_i>u)l}~8D51SJvF^lGyq395(Zulw&U}I?keat7T zL61C5LA3LPWEXm0bC=w%>0b&5VbeIRbQ=8u{NQTAhhhyO$xtQ5Sh zS4aBT2Yeoi(KKru-{>3-sfQ7A(&$nINmStYq~CCeDPWJvY1A(*!0QaqoChKaz}X%} z(Ps(M$G$(`*2h^8L^oZ+nDocG7&!|RUrS#Wt3b#RBW>&99eUpNY&R(%Us(mhD{s4Q z6=5>q!|NY^@hO%Cw6Z=3-yrh`SF3R>ZCqv{{xI%SEs-NpuS1%1=~ph;>+RMhd;;9* z-B8S5!xlIJo|+aEhk8E4B%!&pu;&eq?z^XKMfNb|&m{e0O@eq*qI_s#%hIk)07tEp zEj!@~Us4Af$D!nd9*nUEn?fDpw5G`S27Y-6r?7MbDt)R}msO3|7&^L#MH$%8*Q5EC zvsqK$-?#oU=)v_?+Cb7FZZ=dskB^p;9k^}lvY-*IUs(fr8gkh24Jcx VNQ$HO$F~N!ie5Sb(~_J_{4eQc^jQD^ literal 0 HcmV?d00001 diff --git a/8.21/B-Light/main.cpp b/8.21/B-Light/main.cpp index 61c413f..1d58774 100644 --- a/8.21/B-Light/main.cpp +++ b/8.21/B-Light/main.cpp @@ -3,29 +3,33 @@ #include #include using namespace std; -//const int N=1e8+5; -//void initialise(int n) -//{ -// -//} +const double eps= 1e-5; +double H,h,D; +double f(double d) +{ + return D-d+H-(H-h)*D/d; +// return D-d+h-(H-h)*(D-d)/d; +} +double sanfen(double l,double r) +{ + double mid,midr,ans; + while(fabs(r-l)>eps) + { + mid=(l+r)/2; + midr=(mid+r)/2; + if(f(mid)0) - { - printf("%.3lf\n",h+add); - } - else - { - printf("%.3lf\n",h); - } + printf("%.3lf\n",sanfen(D-D*h/H,D)); } return 0; } diff --git a/8.21/B-Light/tempCodeRunnerFile.cpp b/8.21/B-Light/tempCodeRunnerFile.cpp new file mode 100644 index 0000000..02358d2 --- /dev/null +++ b/8.21/B-Light/tempCodeRunnerFile.cpp @@ -0,0 +1 @@ +D \ No newline at end of file diff --git a/8.21/E-typewriter/E.pdf b/8.21/E-typewriter/E.pdf new file mode 100644 index 0000000..564d7e7 --- /dev/null +++ b/8.21/E-typewriter/E.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83f6580cee8072a9e6418879a4389386696de7e13230f6b99ee194017c5e1484 +size 117561