#题面 Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 ? Ki ? N) on every floor. ...
分类:
其他好文 时间:
2020-06-18 19:21:32
阅读次数:
90
1072 Gas Station (30分) A gas station has to be built at such a location that the minimum distance between the station and any of the residential housi ...
分类:
其他好文 时间:
2020-06-17 18:32:50
阅读次数:
58
题目链接:HDU-5936 Difference 题意 有两个等式: \[ \begin{split}f(y,K)&=\sum_{z\ {\rm in\ every\ digits\ of}\ y}z^K \qquad \ \qquad (1)\\x&=f(y,K)-y \qquad\qquad\q ...
分类:
其他好文 时间:
2020-06-16 23:37:38
阅读次数:
91
题目:#if #ifdef和#ifndef的综合应用。 程序分析:无。 实例: 1 #include<stdio.h> 2 #define MAX 3 #define MAXIMUM(x,y)(x>y)?x:y 4 #define MINIMUM(x,y) (x>y)?y:x 5 int main( ...
分类:
其他好文 时间:
2020-06-16 15:37:21
阅读次数:
52
ll qmi(ll a,ll b){ ll res=1; while(b){ if(b&1) res=res*a%mod; b>>=1; a=a*a%mod; } return res; } ll inv(ll p){ return qmi(p,mod-2); } ll ny(ll a,ll b){ ...
分类:
其他好文 时间:
2020-06-15 15:43:50
阅读次数:
31
##题面 Problem Description 一天,淘气的Tom不小心将水泼到了他哥哥Jerry刚完成的作文上。原本崭新的作文纸顿时变得皱巴巴的,更糟糕的是由于水的关系,许多字都看不清了。可怜的Tom知道他闯下大祸了,等Jerry回来一定少不了一顿修理。现在Tom只想知道Jerry的作文被“破坏 ...
分类:
其他好文 时间:
2020-06-13 17:09:20
阅读次数:
50
全文搜索介绍 全文搜索两个最重要的方面是: 相关性(Relevance) 它是评价查询与其结果间的相关程度,并根据这种相关程度对结果排名的一种能力,这 种计算方式可以是 TF/IDF 方法、地理位置邻近、模糊相似,或其他的某些算法。 分词(Analysis) 它是将文本块转换为有区别的、规范化的 t ...
分类:
其他好文 时间:
2020-06-13 13:21:20
阅读次数:
86
首先有自己的项目仓库,项目的composr.json配置如下 { "name": "test/packag1", "description": "私有仓库创建测试", "type": "library", "license": "proprietary", "minimum-stability": ...
分类:
其他好文 时间:
2020-06-13 10:39:50
阅读次数:
126
【故障处理】ORA-28040: No matching authentication protocol 1> 告警日志中频繁出现Using deprecated SQLNET.ALLOWED_LOGON_VERSION parameter、 ORA-28040: No matching authe ...
分类:
其他好文 时间:
2020-06-13 10:30:44
阅读次数:
49
最长回文子串 暴力法 动态规划法 manacher算法 HDU 3068 ...
分类:
其他好文 时间:
2020-06-11 21:55:01
阅读次数:
59