地址:http://acm.hdu.edu.cn/showproblem.php?pid=2570 解析: 想让最后的体积最大,肯定是先加入浓度小的。 所以贪心思路是,浓度从小到大加入。 注意: n种同体积的浓度分别为a,b,c...那么混合以后浓度为:(a+b+c+..)/n 所以从小到大加入即可 ...
分类:
其他好文 时间:
2020-07-09 17:52:11
阅读次数:
89
视频: 需要安装:gl-transitions、regl-transitio、regl、gl-shader import GLTransitions from 'gl-transitions'; import createREGLTransition from 'regl-transition'; ...
分类:
其他好文 时间:
2020-07-09 01:12:32
阅读次数:
93
HDU - 5919 题意:n个数,m个询问,每次询问区间[l,r],设[l,r]内不同的数有k个,它们在该区间第一个次出现的位置是p1,p2...pk(p1<p2<pk),回答p(k+1)/2. 思路:主席树查区间不同的数的个数这个就不说了,前面的博客有提到过。问题就在于我们在知道k之后,找p(k ...
分类:
其他好文 时间:
2020-07-09 00:40:09
阅读次数:
145
hdu 4372 第一类Sitiling数 简单的组合计数问题 [圆排列 ...
分类:
其他好文 时间:
2020-07-08 19:39:27
阅读次数:
38
官网:https://tensorflow.google.cn/tfx/guide/serving 步骤1:保存pb模型 # 为模型每一个参数添加name # ner demo: https://github.com/buppt/ChineseNER self.input_x = tf.placeh ...
分类:
Web程序 时间:
2020-07-08 15:34:47
阅读次数:
153
需求: 找一款工具可以对TCP 80端口 收集 访问延迟和丢包率 找到的工具: 1、Hping : http://www.hping.org/ 2、paping : https://docs.azure.cn/zh-cn/articles/azure-operations-guide/virtual ...
分类:
其他好文 时间:
2020-07-08 14:56:02
阅读次数:
108
You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water. Grid cells are connected horizontally/ve ...
分类:
其他好文 时间:
2020-07-08 09:14:32
阅读次数:
54
(1) 相关博文地址: SpringBoot + Vue + ElementUI 实现后台管理系统模板 -- 前端篇(一):搭建基本环境:https://www.cnblogs.com/l-y-h/p/12930895.html SpringBoot + Vue + ElementUI 实现后台管理 ...
分类:
编程语言 时间:
2020-07-08 01:12:49
阅读次数:
137
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1024 题目大意:给m 和n个数,将n个数分为m段,不交叉,求m段和的最大值。 Sample Input 1 3 1 2 3 2 6 -1 4 -2 3 -2 3 Sample Output 6 8 em ...
分类:
其他好文 时间:
2020-07-08 00:58:59
阅读次数:
82