码迷,mamicode.com
首页 >  
搜索关键字:names    ( 11603个结果
51Nod 1228 序列求和
T(n) = n^k,S(n) = T(1) + T(2) + ...... T(n)。给出n和k,求S(n)。 例如k = 2,n = 5,S(n) = 1^2 + 2^2 + 3^2 + 4^2 + 5^2 = 55。 由于结果很大,输出S(n) Mod 1000000007的结果即可。 T(n ...
分类:其他好文   时间:2017-05-24 22:23:20    阅读次数:225
【Python】Selenium元素定位错误之解决办法
当使用class定位元素时发现报错: 错误信息:selenium.common.exceptions.InvalidSelectorException: Message: Compound class names not permitted(复合类的名称不允许) 网上查询资料得知: classNam ...
分类:编程语言   时间:2017-05-24 18:30:47    阅读次数:10846
hdu5386 Cover
Problem Description You have an n?n matrix.Every grid has a color.Now there are two types of operating: L x y: for(int i=1;i<=n;i++)color[i][x]=y; H x ...
分类:其他好文   时间:2017-05-24 18:29:49    阅读次数:248
bzoj 3238: [Ahoi2013]差异 -- 后缀数组
3238: [Ahoi2013]差异 Description Input 一行,一个字符串S 一行,一个字符串S Output 一行,一个整数,表示所求值 一行,一个整数,表示所求值 Sample Input cacao Sample Output 54 HINT 2<=N<=500000,S由小写 ...
分类:编程语言   时间:2017-05-24 15:56:42    阅读次数:158
topcoder srm 692 div1 -3
1、给定一个带权有向图。选出一些边满足使得任意两点可相互到达的前提下使得选出的边的权值的最大最小差值最小。 思路:二分答案,然后枚举权值的范围判断是否可行。 ...
分类:其他好文   时间:2017-05-24 11:15:11    阅读次数:160
洛谷P1265 公路修建(Prim)
To 洛谷.1265 公路修建 题目描述 某国有n个城市,它们互相之间没有公路相通,因此交通十分不便。为解决这一“行路难”的问题,政府决定修建公路。修建公路的任务由各城市共同完成。 修建工程分若干轮完成。在每一轮中,每个城市选择一个与它最近的城市,申请修建通往该城市的公路。政府负责审批这些申请以决定 ...
分类:其他好文   时间:2017-05-24 11:09:22    阅读次数:225
poj 2683 Ohgas&#39; Fortune 利率计算
水题。 代码: //poj 2683 //sep9 #include <iostream> using namespace std; int main() { int cases; scanf("%d",&cases); while(cases--){ int fund,year,op,ans=-1 ...
分类:其他好文   时间:2017-05-24 10:08:11    阅读次数:123
Harris角点检测学习
1.角点的定义与性质 角点是一种局部特征,具有旋转不变性和不随光照条件变化而变化的特点,一般将图像中曲率足够高或者曲率变化明显的点作为角点。检测得到的角点特征通常用于图像匹配、目标跟踪、运动估计等方面。 2.Harris角点 1)定性描述 该算法中,将图像分为平坦区域、边缘、角点三部分。平坦区域中像 ...
分类:其他好文   时间:2017-05-24 10:06:46    阅读次数:281
WifiManager类具体解释
public class WifiManager extends Object java.lang.Object ? android.net.wifi.WifiManager 类概述 This class provides the primary API for managing all aspec ...
分类:其他好文   时间:2017-05-24 09:56:32    阅读次数:251
KMP中next的应用 POJ 2752 Seek the Name, Seek the Fame
Seek the Name, Seek the Fame Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 19163 Accepted: 9849 Description The little cat is so famous, ...
分类:其他好文   时间:2017-05-24 00:48:51    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!