首页 > 2017年05月06日 > 全部分享
[LeetCode] Word Abbreviation 单词缩写
Given an array of n distinct non-empty strings, you need to generate minimal possible abbreviations for every word following rules below. Example: Not ...
分类:其他   时间:2017-05-06 22:29:32    收藏:0  评论:0  赞:0  阅读:513
14、自学——Linux的学习进度与任务【正则表达式】
正则表达式 文本处理工具之grep、egrep和fgrep 1、基本正则表达式 grep:(global search regular expression(RE)and print out the line) 文本搜索工具,根据用户指定的文本模式对目标文件进行逐行搜索,并显示匹配的行 # grep ...
分类:系统服务   时间:2017-05-06 22:29:12    收藏:0  评论:0  赞:0  阅读:258
第三章随笔
本章为软件工程师的成长,主要介绍了评价软件工程师水平的主要方法,技能的反面,TSP对个人的要求。 软件开发流程:软件开发流程包括团队的流程,也包括个人的流程 初级软件工程师有几方面成长: 1、积累软件开发相关的知识,提升技术技能2、积累问题领域的知识和经验3、对通用的软件设计思想和软件工程思想的理解 ...
分类:其他   时间:2017-05-06 22:28:59    收藏:0  评论:0  赞:0  阅读:188
hdu2594 kmp
Homer: Marge, I just figured out a way to discover some of the talents we weren’t aware we had. Marge: Yeah, what is it? Homer: Take me for example. I ...
分类:其他   时间:2017-05-06 22:28:31    收藏:0  评论:0  赞:0  阅读:293
bzoj3648 寝室管理
传送门:http://www.lydsy.com/JudgeOnline/problem.php?id=3648 【题解】 明天就要去ctsc/apio了有点小激动啊(题解无关 这道题如果是树就是一个裸的点分治+BIT啦! 环套树啊。。去掉环上一条边,点分+BIT算一下。 然后考虑通过这条边,一定是 ...
分类:其他   时间:2017-05-06 22:28:14    收藏:0  评论:0  赞:0  阅读:277
python 计算md5
import hashlib src = "afnjanflkas" m2 = hashlib.md5() m2.update(src) print m2.hexdigest() > 输出的值 md5值 ...
分类:编程语言   时间:2017-05-06 22:27:59    收藏:0  评论:0  赞:0  阅读:281
树莓派 wifi设置
1,设置interfaces sudo nano /etc/network/interfaces 修改 wanl0 部分: auto wlan0 allow-hotplus wlan0 iface wlan0 inet dhcp wpa_conf /etc/wpa_supplicant/wpa_su ...
分类:其他   时间:2017-05-06 22:27:48    收藏:0  评论:0  赞:0  阅读:356
关于dp骗分
1.样例2.搜索3.大小->贪心:《1》每次选代价最小的两个矩阵 《2》 每次选最大。。。。 《3》手动找规律。。。。。。。4.随机化Int t=clock();While(clock()-t>950){Do something; }嗯 钟长者就总结了这么多 ...
分类:其他   时间:2017-05-06 22:27:22    收藏:0  评论:0  赞:0  阅读:292
三明治布局
<!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <style> * { margin: 0; padding: 0; } header { position: absolute ...
分类:其他   时间:2017-05-06 22:27:11    收藏:0  评论:0  赞:0  阅读:233
[luoguP1169] [ZJOI2007]棋盘制作(单调栈)
传送门 和玉蟾宫差不多 ——代码 1 #include <cstdio> 2 #include <iostream> 3 4 using namespace std; 5 6 const int MAXN = 2001; 7 int n, m, ans1, ans2, top; 8 int a[MA ...
分类:其他   时间:2017-05-06 22:26:57    收藏:0  评论:0  赞:0  阅读:278
矩阵乘法<简单总结>
原理:矩阵相乘最重要的方法是一般矩阵乘积。它只有在第一个矩阵的 行数 和第二个矩阵的 列数 相同时才可进行。若A为m×n矩阵,B为n×p矩阵,则他们的乘积AB会是一个m×p矩阵。若A= a b c d e f g h i B= A D B E C F A*B=CC= aA+bB+cC aD+bE+c ...
分类:其他   时间:2017-05-06 22:26:46    收藏:0  评论:0  赞:0  阅读:255
第五篇 jQuery特效与动画
5.1 show()与hide()方法 5.2 动画效果的show()与hide()方法 5.3 toggle()方法 5.4 slideDown()与slideUp() 5.5 slideToggle()方法 5.6 fadeIn()和fadeOut()方法 5.7 fadeTo()方法 ...
分类:Web开发   时间:2017-05-06 22:26:29    收藏:0  评论:0  赞:0  阅读:402
POJ——T2421 Constructing Roads
http://poj.org/problem?id=2421 Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 24132 Accepted: 10368 http://poj.org/problem?id=2421 Descrip ...
分类:其他   时间:2017-05-06 22:26:15    收藏:0  评论:0  赞:0  阅读:269
『ORACLE』 创建表(11g)
CREATE TABLE语句 create table [schema.] 表名 (column datatype [DEFAULT expr][, ...]); 在插入的过程中,为列指定一个默认值 ...hire_date DATE DEFAULT SYSDATE,... 默认值必须满足列的数据类 ...
分类:数据库技术   时间:2017-05-06 22:25:55    收藏:0  评论:0  赞:0  阅读:221
Linux查看版本信息
操作系统uname -aLinux localhost.localdomain 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 内核版本:cat /proc/versio ...
分类:系统服务   时间:2017-05-06 22:25:31    收藏:0  评论:0  赞:0  阅读:569
Bash 的若干基本问题
Bash 的若干基本问题 这里介绍一些bash启动前、后的问题,以及一些使用bash需要注意的基本问题。 1、Bash的介绍 Bash是一种Shell程序,它是一般的Linux系统中的默认的Shell程序,一般情况下Bash指的是/bin/bash这个软件。 一个Linux系统中有多少个可用的She ...
分类:其他   时间:2017-05-06 22:25:18    收藏:0  评论:0  赞:0  阅读:286
dp洋洋散散的知识+code
/*在数轴上有0-N的位置 从0出发每次可以向右走 2 23 233步*/ // 1 总共的方案数 f[i]=f[i-2]+f[i-23]+f[i-233]; f[0]=1; for (int a=1;a=2) f[a]+=f[a-2]; if (a>=23) f[a]+=f[a-23]; if (... ...
分类:其他   时间:2017-05-06 22:25:03    收藏:0  评论:0  赞:0  阅读:364
Neumann's Principle and Curie laws
Neumann's Principle Neumann's principle, or principle of symmetry, states that, if a crystal is invariant with respect to certain symmetry elements, a ...
分类:其他   时间:2017-05-06 22:24:50    收藏:0  评论:0  赞:0  阅读:382
P2456 - 膜拜神犇
P2456 - 膜拜神犇 Description 有一个 n 个点 m 条边的有向图, 蒟蒻可以从 1 号点出发在图上走, 并且最终需要回到 1 号点。 每个点都有一个神犇( 包括 1 号点), 每次经过一个没到过的点, 蒟蒻都会膜拜那位 神犇。 蒟蒻希望膜拜尽可能多的神犇。 由于蒟蒻膜拜神犇的欲望 ...
分类:其他   时间:2017-05-06 22:24:35    收藏:0  评论:0  赞:0  阅读:272
51Nod - 1035 最长的循环节
51Nod - 1035 最长的循环节 正整数k的倒数1/k,写为10进制的小数如果为无限循环小数,则存在一个循环节,求<=n的数中,倒数循环节长度最长的那个数,假如存在多个最优的答案,输出所有答案中最大的那个数。 1/6= 0.1(6) 循环节长度为1 1/7= 0.(142857) 循环节长度为 ...
分类:其他   时间:2017-05-06 22:24:26    收藏:0  评论:0  赞:0  阅读:282
1655条   上一页 1 ... 8 9 10 11 12 ... 83 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!