随笔分类 - 数学
摘要:相互转化 $$ \left \lfloor \frac{a}{b} \right \rfloor = \left \lceil \frac{a+1}{b} \right \rceil - 1 $$ $$ \left \lceil \frac{a}{b} \right \rceil = \left \
阅读全文
摘要:L 清楚姐姐的三角形I 原题链接 代码 点击查看代码 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> #include<cmath> #include<vector> #include<queue>
阅读全文
摘要:A 清楚姐姐学信息论 原题链接 题意 给出$a,b$,问当$a,b$的值为多少时$a^b>b^a$ 思路 $a^b>b^a$ $blna>alnb$ $\frac{lna}{a}>\frac{lnb}{b}$ 令$f(x) = \frac{lnx}{x}$ $f'(x) = \frac{1-lnx}
阅读全文
摘要:D.现在是,学术时间 (II) 原题连接 题意 1.给出一个由平面上两点$(0,0),(x,y)$所确定的GT目标框和一个点$P(x_p,y_p)$。请你求出在所有以P点作为其中一个顶点且边都平行于坐标轴的预测目标框中,可以使其与GT目标框取到的最大IOU为多少。 标检测任务旨在编写一个程序检测出图
阅读全文
摘要:L.本题主要考察了运气 原题链接 题意 给出5个团体,每个团体4个人,猜出某个人的期望次数是多少? 思路 由于每个团和每个人并没有区别,因此最佳策略是先猜团后猜人 共5个团,第1次猜中的概率是0.2,第2次猜中的概率是0.2,第3次猜中的概率是0.2,第4次猜中的概率是0.4 //注意:第2次猜中的
阅读全文
摘要:#B. Quick Sort You are given a permutation【排列】† $p$ of length $n$ and a positive integer $k≤n$. In one operation, you: Choose $k$ distinct elements【不连
阅读全文
摘要:#A. Greatest Convex You are given an integer $k$. Find the largest integer $x$, where $1≤x<k$, such that $x!+(x−1)!$† is a multiple of ‡ $k$, or deter
阅读全文

浙公网安备 33010602011771号