码迷,mamicode.com
首页 >  
搜索关键字:points    ( 1654个结果
ICPC2018南京网络赛 AC Challenge(一维状压dp)
AC Challenge 30.04% 1000ms 128536K Dlsj is competing in a contest with n (0 < n \le 20)n(0<n≤20) problems. And he knows the answer of all of these pro ...
分类:其他好文   时间:2018-09-01 20:25:53    阅读次数:281
1028C:Rectangles
You are given n rectangles on a plane with coordinates of their bottom left and upper right points. Some (n?1) of the given nrectangles have some comm ...
分类:其他好文   时间:2018-09-01 12:12:09    阅读次数:207
python的字典
1.一个简单的字典 alien_0 = {'color': 'green', 'points': 5}print(alien_0['color'])print(alien_0['points'])字典alien_0存储了外星人的颜色和点数。使用两条print语句来访问并打印这些信息,如下所示:gre ...
分类:编程语言   时间:2018-08-31 21:15:29    阅读次数:194
[LeetCode] Ambiguous Coordinates 模糊的坐标
We had some 2-dimensional coordinates, like "(1, 3)" or "(2, 0.5)". Then, we removed all commas, decimal points, and spaces, and ended up with the str ...
分类:其他好文   时间:2018-08-31 01:17:16    阅读次数:269
Factorial(hdu 1124)
Description The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cells (this ...
分类:其他好文   时间:2018-08-30 16:46:13    阅读次数:161
LeetCode 447. Number of Boomerangs; 149. Max Points on a Line
Boomerang 回旋镖的意思,本题意思是寻找 abc的点对,使得ab,ac距离相等。 一个循环固定a,计算其余的点到a的距离,简历一个hashtable,保存对应距离的点的个数。 如果有n个点到a距离相等,那么一共有 P_n^2 种可能 (题目中提到不同顺序算多种) 149. Max Point ...
分类:其他好文   时间:2018-08-30 11:01:16    阅读次数:212
并查集
/*并查集*/ #include int *a; int *sz; int count; //the number of connected component //union two connected components with weights void union_two_points(i... ...
分类:其他好文   时间:2018-08-29 14:01:34    阅读次数:155
[LeetCode] 613. Shortest Distance in a Line_Easy tag: SQL
Table point holds the x coordinate of some points on x-axis in a plane, which are all integers. Write a query to find the shortest distance between tw ...
分类:数据库   时间:2018-08-29 01:11:48    阅读次数:270
Different types of Insurance small Business needs
A business needs to be protected whether it may be small or big. But the tactics vary for small business and large business. Here are the different types of insurance where every small business owner should be aware of.
分类:其他好文   时间:2018-08-28 17:59:36    阅读次数:128
CodeForces - 891C: Envy(可撤销的并查集&最小生成树)
For a connected undirected weighted graph G, MST (minimum spanning tree) is a subgraph of G that contains all of G's vertices, is a tree, and sum of i ...
分类:其他好文   时间:2018-08-27 23:18:15    阅读次数:265
1654条   上一页 1 ... 46 47 48 49 50 ... 166 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!