Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. The ones who see things differentl...
分类:
其他好文 时间:
2016-01-21 00:10:09
阅读次数:
167
题目意思:给出一个字符串和字串的长度,求出该字符串的全部给定长度的字串的个数(不同样)。题目分析:此题为简单的字符串哈hash map问题,能够直接调用STL里的map类。map snum;AC代码:#include#include#includeusing namespace std;int ma...
分类:
其他好文 时间:
2015-12-27 17:52:30
阅读次数:
188
//主表package org.crazy.app.domain;import javax.persistence.*;@Entity@Table(name="person_inf")public class Person { @Id @Column(name="person_id") ...
分类:
Web程序 时间:
2015-12-27 13:26:20
阅读次数:
153
Hash:一般是一个整数。就是说通过某种算法,可以把一个字符串"压缩" 成一个整数。一,题意: 给出两个数n,nc,并给出一个由nc种字符组成的字符串。求这个字符串中长度为n的不同子串有多少种?二,思路: 1.这个题不用匹配,因为不高效。 2.将长度为n的子串看作n位的nc进制数,...
分类:
其他好文 时间:
2015-11-03 22:31:12
阅读次数:
245
ssh-key免密钥认证环境:server服务器192.168.1.178/24client-b服务器192.168.1.1.179/24client-c服务器192.168.1.1.180/24这三台机器都禁止root的远程登录,并且把ssh的默认访问端口22改成5201端口这三台机器都创建了crazy普通用户,密码123456需求:实现server端通过SSH通道..
分类:
其他好文 时间:
2015-10-28 10:54:59
阅读次数:
465
Problem DescriptionIn your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect all t...
分类:
其他好文 时间:
2015-09-08 18:26:12
阅读次数:
134
D -Crazy Tank Time Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uDescriptionCrazy Tan...
分类:
其他好文 时间:
2015-09-06 01:09:19
阅读次数:
195
Dance Dance RevolutionTime Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluSubmitStatusPracticeUVA 1291Mr. White, a fat man, now is crazy about...
分类:
其他好文 时间:
2015-08-30 21:15:04
阅读次数:
159
n participants of «crazy tea party» sit around the table. Each minute one pair of neighbors can change their places. Find the minimum time (in minutes...
分类:
其他好文 时间:
2015-08-27 22:27:36
阅读次数:
239
解题报告 之 HDU5325 Crazy Bobo 深搜,图论,HDU5325
Description
Bobo has a tree,whose vertices are conveniently labeled by 1,2,...,n.Each node has a weight . All the weights are distrinct.
A set with m nodes is a Bobo Set if:
- The subgraph of his tree induced by ...
分类:
其他好文 时间:
2015-08-27 15:25:28
阅读次数:
174