#include<iostream>#include<string>#include<cstring>using namespace std;class String { public: String(); // str = "" String(const char*); // str = "abc ...
分类:
其他好文 时间:
2016-10-22 14:58:02
阅读次数:
192
#include<iostream>#include<cmath> using namespace std;int main(){ int n; cin>>n; while(n--){ int t; cin>>t; int points=0; while(t--){ int a,b; cin>>a> ...
分类:
其他好文 时间:
2016-10-22 14:49:05
阅读次数:
122
#include<iostream>#include<cstdio>using namespace std;int minn=9999999,book[101],n,e[101][101];void dfs(int cur,int dis){ int j; if(dis>minn) return ; ...
分类:
编程语言 时间:
2016-10-22 14:18:36
阅读次数:
152
题目链接:http://poj.org/problem?id=1269 题意:给你两条直线上的任意不同的两点,然后求两条直线的位置关系,如果相交于一点输出该点坐标; #include<iostream> #include<algorithm> #include<math.h> #include<st ...
分类:
其他好文 时间:
2016-10-22 14:03:42
阅读次数:
201
字符串 动态规划 计数 *题意:给出两个字符串,A,B,求A,B的lcs的数量。 ...
分类:
其他好文 时间:
2016-10-22 12:16:29
阅读次数:
186
原文: http://gitbook.liuhui998.com/5_5.html 如果你要查看文件的每个部分是谁修改的, 那么 git blame 就是不二选择. 只要运行'git blame [filename]', 你就会得到整个文件的每一行的详细修改信息:包括SHA串,日期和作者: 译者注: ...
分类:
其他好文 时间:
2016-10-22 11:45:22
阅读次数:
185
一,整数 1.int型 具有的功能: (1).返回表示该数字的时占用的最少位数 (2).返回绝对值 (3).相除,得到商和余数组成的元组 (4).int转换为浮点类型 (5).__cmp__(self, y)比较两个数大小 注:在3.x版本被 (6).__coerce__(self, y)强制生成一 ...
分类:
编程语言 时间:
2016-10-22 11:44:21
阅读次数:
223
平衡树模板题,然而WA惨了qaq,不过对平衡树理解加深还是不错的 原题: 您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下操作:1. 插入x数2. 删除x数(若有多个相同的数,因只删除一个)3. 查询x数的排名(若有多个相同的数,因输出最小的排名)4. 查询排名为x的数5. 求 ...
分类:
其他好文 时间:
2016-10-22 11:43:17
阅读次数:
305
Angular 1 provided a mechanism to place content from your template inside of another template called transclusion. This concept has been brought into ...
分类:
其他好文 时间:
2016-10-22 07:52:22
阅读次数:
273
一、使用java的calendar类写一个简单的日历 ...
分类:
编程语言 时间:
2016-10-22 07:45:44
阅读次数:
199