无聊,水水~。 uf-set#include
#include
using namespace std;
int fa[1005];
int find(int x)
{
if(x!=fa[x]) return find(fa[x]);
return x;
}
int main()
{
int n,m,T;
cin>>T;
while(T--)
{
...
分类:
其他好文 时间:
2015-03-18 12:28:05
阅读次数:
121
iOS 开发中不使用系统自带的button模式...
分类:
其他好文 时间:
2015-03-18 12:27:44
阅读次数:
97
$ is not defined
引入Jquery的顺序不对,要把它放在第一个引入...
分类:
其他好文 时间:
2015-03-18 12:27:44
阅读次数:
89
基础练习 数列特征
时间限制:1.0s 内存限制:256.0MB
问题描述
给出n个数,找出这n个数的最大值,最小值,和。
输入格式
第一行为整数n,表示数的个数。
第二行有n个数,为给定的n个数,每个数的绝对值都小于10000。
输出格式
输出三行,每行一个整数。第一行表示这些数中的最大值,第二行...
分类:
其他好文 时间:
2015-03-18 12:27:33
阅读次数:
126
There is a program
to copy input to output as blow.
#include
/* copy input to output */
int main()
{
int c;
c = getchar();
while (c != EOF) {
putchar(c);
c = getchar...
分类:
其他好文 时间:
2015-03-18 12:26:40
阅读次数:
139
http://poj.org/problem?id=1179
Description
Polygon is a game for one player that starts on a polygon with N vertices, like the one in Figure 1, where N=4. Each vertex is labelled with an integer...
分类:
其他好文 时间:
2015-03-18 12:23:19
阅读次数:
147
转载请注明出处:http://blog.csdn.net/zhaokaiqiang1992 最近在重温Android基础,在看到ActionProvider的时候遇到一个坑,分享到大家,避免入坑。 首先简单介绍下ActionProvider。 ShareActionProvider你应该用过吧?就是使用系统自带的分享功能,其实ShareActionProvider就是Actio...
分类:
其他好文 时间:
2015-03-18 12:24:25
阅读次数:
135
基础练习 01字串
时间限制:1.0s 内存限制:256.0MB
问题描述
对于长度为5位的一个01串,每一位都可能是0或1,一共有32种可能。它们的前几个是:
00000
00001
00010
00011
00100
请按从小到大的顺序输出这32种01串。
输入格式
本试题没有输入。
...
分类:
其他好文 时间:
2015-03-18 12:22:21
阅读次数:
119
#include
using namespace std;
#define maxn 50000+10
int T, N, a[maxn], sum[maxn<<2];
void push_up(int root)
{
sum[root] = sum[root<<1] + sum[root<<1|1];
}
void Build(int L, int R, int root)//...
分类:
其他好文 时间:
2015-03-18 12:23:33
阅读次数:
139
atitit.attilax.com产品页面
1. 微信公众号后台服务系统 1
2. 视频图文发布与点播系统 1
3. 图片验证码自动识别 2
4. 手机短信验证码自动识别 2
5. 爬虫,数据采集,数据解析 2
6. 数据挖掘,可视化 2
7. CRUD框架 3
8. 通用web远程接口 3
9. oracle,mysql,sql server(mssql) sql转换器...
分类:
其他好文 时间:
2015-03-18 12:23:29
阅读次数:
148
题目:Maple treesTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 177 Accepted Submission(s): 63 Problem DescriptionThere are a lot of trees in HDU. Ki...
分类:
其他好文 时间:
2015-03-18 12:21:11
阅读次数:
222
当所有的互联网金融企业涌向P2P时候,有康庄大道不走,反而在独木桥里任性。不幸是一些P2P平台被资本过分的纵容,万幸的是一些P2P平台已经死去。在监管即将出台的现状下,互联网金融“导购返利”服务平台有红的一面,也有黑的一面。如何避免成为搜索比价的替补,如何逃出导购返利的魔咒,对于互联网金融导购返利模式来说,每一步的探索都为了当一个“隐形冠军”的生意经。
搜索生意做久了会倒...
分类:
其他好文 时间:
2015-03-18 12:22:50
阅读次数:
119
日期字符串格式化成日期String str="201403060819";
SimpleDateFormat fo = new SimpleDateFormat("yyyyMMddHHmm");//yyyyMMddHHmm是要转化成日期的字符串的格式
Date date = new Date();
try {
date = fo.parse(s...
分类:
其他好文 时间:
2015-03-18 12:23:47
阅读次数:
125
人脑至少在数万年以前就已经进化出所有的互联网功能,不断发展的互联网将帮助神经学科学家揭开大脑的秘密。科学实验将证明大脑中也经拥有Google一样的搜索引擎,Facebook一样的SNS系统,IPv4一样的地址编码系统,思科一样的路由系统...
分类:
其他好文 时间:
2015-03-18 12:20:54
阅读次数:
232