八种常用的数学函数: ① abs(x):求绝对值 ② ceil(x),floor(x):向上/下取最接近的整数 ③ cos(x),sin(x),tan(x):三角函数 ④ min(),max():最小值与最大值 ⑤ pow(base,exp):求乘方 ⑥ rand(),rand(min,max):产 ...
分类:
Web程序 时间:
2019-02-12 12:55:34
阅读次数:
208
MVC 模型视图控制器模型 这是中文名称 原先是为桌面应用建立的框架,后来转变成为B/S模型。 经典图如下  $\cos^5\dfrac{\pi}{9}+\cos^5\dfrac{5\pi}{9}+\cos^5\dfrac{7\pi}{9}$ 的值为_____ A.$\frac{15}{32}$ B.$\frac{15}{16}$ C.$\frac... ...
分类:
其他好文 时间:
2019-02-07 21:51:49
阅读次数:
250
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. ...
分类:
移动开发 时间:
2019-02-04 15:32:07
阅读次数:
203
macos下,打开vs code后,选择view菜单,点击terminal, 在vs code中打开控制台。执行以下grep命令: grep -w "p" -n -r /Users/ahfu/code/visp/modules/tracker/tt --color=auto --exclude-di ...
分类:
系统相关 时间:
2019-02-04 08:59:03
阅读次数:
293
题目 "P2605 [ZJOI2010]基站选址" 简化题目:1~n个村庄,每个村庄有范围,要求范围内有村庄被选(不超过$k$个),否则被罚款,选村庄有一定花费,求最小总花费 做法 朴素 $dp_{i,j}$第$j$个被选的村庄为$i$的最小花费:$dp_{i,k}=min\{dp_{j,k 1}+ ...
分类:
其他好文 时间:
2019-02-03 23:31:54
阅读次数:
192