码迷,mamicode.com
首页 >  
搜索关键字:halloween party    ( 1005个结果
http-server: a command-line http server
http-server https://github.com/http-party/http-server#readme http-server is a simple, zero-configuration command-line http server. It is powerful enou ...
分类:Web程序   时间:2020-01-29 23:41:29    阅读次数:99
Silver Cow Party POJ - 3268
#include<iostream> #include<queue> #include<cstring> using namespace std; const int N=200000+10,INF=0x3f3f3f3f; int h[N],e[N],ne[N],w[N],idx; int n,m, ...
分类:其他好文   时间:2020-01-29 12:10:32    阅读次数:56
HDU 6521 Party(线段树)
题目意思:有n个人,一开始相互不认识。他们要去参加party,每次参加的人是编号在区间[l,r]内的人。参加完一次party之后,这区间内的人就会相互认识。每次会有有多少对人会新认识。那么用f[i] = j 表示 j - i的人都互相认识了,初始化f[i] = i,那么每次更新l,r话只需要找到是否 ...
分类:其他好文   时间:2020-01-28 17:22:09    阅读次数:63
ZJNU 1367 - Party--中高级
寻找从i到X,再从X到i的最短路 可以在正向图中从X开始跑一遍最短路,每个点的距离dis1[i]当作从X回到点i的距离 再将图反向从X再跑一遍,每个点的距离dis2[i]当作从i到点X的距离 最后搜索dis1[i]+dis2[i]值最大的输出 1 /* 2 Written By StelaYuri ...
分类:其他好文   时间:2020-01-27 09:41:33    阅读次数:63
CF741C Arpa’s overnight party and Mehrdad’s silent entering
"Link" 显然是二分图染色,情侣之间不同色直接一条边就行了。 而要连续的三个人不全同色,可以要求$(2i 1,2i)$这两人不同色,这样一定满足连续的三人不全同色。 冷静分析发现这张图显然没有奇环,所以一定有解。 ...
分类:其他好文   时间:2020-01-26 22:16:20    阅读次数:83
poj3268
原题: Description One cow from each of N farms (1 ≤ N ≤ 1000) conveniently numbered 1..N is going to attend the big cow party to be held at farm #X (1 ≤ ...
分类:其他好文   时间:2020-01-26 19:04:18    阅读次数:74
[ngx-formly] Use 3rd party Form Controls with Angular Formly / Custom type
In a real form you'll most likely want to add some 3rd party form controls. For example autocomplete fields, date-time pickers etc. In this lesson we' ...
分类:其他好文   时间:2020-01-09 21:07:29    阅读次数:75
Mxnet模型转换ONNX,再用tensorrt执行前向运算
环境:ubuntu16.04 tensorrt版本:5.1.5.0 cuda版本:9.0 GPU:1080Ti Mxnet版本:1.3.1 cudnn:7.3.1 1、tensorrt安装: https://github.com/NVIDIA/TensorRT tensorrt的不同版本: http ...
分类:Web程序   时间:2020-01-01 21:03:50    阅读次数:239
Vagrant2.2.6 和VirtualBox6.1.0不兼容问题解决办法
在安装完毕vagrant和virtualbox后, 执行命令 vagrant up时出现 No usable default provider could be found for your system.Vagrant relies on interactions with 3rd party s ...
分类:其他好文   时间:2020-01-01 19:07:30    阅读次数:290
SPOJ: Large party
由polya定理$$Ans=\frac{\sum_{d|n}f(d)*\phi(\frac{n}{d})}{n}$$ $f(i)$表示不考虑旋转同构下长度为$i$的环的合法方案数。 $g(i)$表示第$i$位为男的链的方案数。 $h(i)$表示第$1$位和第$i$位都是男的链的方案数。 对于$g$数 ...
分类:其他好文   时间:2019-12-14 20:56:38    阅读次数:159
1005条   上一页 1 ... 3 4 5 6 7 ... 101 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!