求一条线段上有多少个整点。 是道扩欧基础题,列出两点式方程,然后分四种情况讨论即可。但细节处理较多很容易写挫(某zzWA了十几发才过掉的)。 由于数据精度较小,浮点数比较没有用eps,直接==比较了。 ...
分类:
其他好文 时间:
2019-02-06 21:14:53
阅读次数:
191
Alice and Bob are very smart guys and they like to play all kinds of games in their spare time. The most amazing thing is that they always find the be ...
分类:
其他好文 时间:
2019-02-04 22:06:14
阅读次数:
232
因为只有奇偶之间有操作, 可以看出是二分图, 然后拆质因子, 二分图最大匹配求答案就好啦。 ...
分类:
其他好文 时间:
2019-02-04 01:08:05
阅读次数:
179
P3052 [USACO12MAR]摩天大楼里的奶牛Cows in a Skyscraper 给出n个物品,体积为w[i],现把其分成若干组,要求每组总体积 eps; T = delta) { // 模拟退火打乱序列过程 ll x = rand() % n + 1, y = rand() % n + ...
分类:
其他好文 时间:
2019-02-02 23:07:00
阅读次数:
210
Color.AliceBlue 240,248,255 Color.LightSalmon 255,160,122 Color.AntiqueWhite 250,235,215 Color.LightSeaGreen 32,178,170 Color.Aqua 0,255,255 Color.Lig ...
技术背景: python(3.7) + Django(2.1) + Celery(4.2) + RabbitMQ(3.7.8) 启动环境: django runserver 启动在本地 celery 也是在本地系统:$ celery worker -A <project> -c 2 --loglev ...
分类:
其他好文 时间:
2019-02-02 17:09:23
阅读次数:
493
版本信息:strongSwan v5.7.2 1. 编译 2. 测试场景 说明:strongSwan官网上有个Test Scenarios链接,下面有非常多的测试场景和配置说明,可能有针对性地参考。为简单起见,本文仅描述最简单的对接场景。 3. 配置 配置文件默认安装在/usr/local/etc目 ...
分类:
其他好文 时间:
2019-02-01 19:43:37
阅读次数:
351
https://help.sap.com/viewer/141cbf7f183242b0ad0964a5195b24e7/114/en US/8d12f7b9244b44219bd14d619d3a2123.html Configuring SSL for SAP Host Agent on UNI ...
分类:
其他好文 时间:
2019-01-30 19:51:42
阅读次数:
110
### 后续补上此总结。 1. Sequential crowdsourced labeling as an epsilon-greedy exploration in a Markov Decision Process (AISTATS14) 2. Variational Inference fo ...
分类:
其他好文 时间:
2019-01-27 21:44:13
阅读次数:
193