会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DuskL
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
下一页
2014年12月19日
css笔记
摘要: 1 css注释 2 /* */ 3 4 css样式使用方式: 5 1.head中放style标签(内部) 6 11 12 2.在标签身上加style属性(内联) 13 aaa 14 15 3.专门写个.css文件(外部) 16 17 .css文件中直接写style标签中间...
阅读全文
posted @ 2014-12-19 10:43 DuskL
阅读(192)
评论(0)
推荐(0)
2014年11月20日
14.10源
摘要: 网易163源:deb http://mirrors.163.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ trusty-security main restricted...
阅读全文
posted @ 2014-11-20 16:59 DuskL
阅读(163)
评论(0)
推荐(0)
2014年11月5日
立神gvim
摘要: set cursorlineset history=1700set nocompatible "去掉讨厌的有关vi一致性模式,避免以前版本的一些bug和局限 set nufiletype plugin onfiletype indent onset autoreadset so=7set wildm...
阅读全文
posted @ 2014-11-05 22:29 DuskL
阅读(350)
评论(0)
推荐(0)
gvim
摘要: set nu!set shiftwidth=4set tabstop=4set softtabstop=4set expandtabset guioptions-=m " 隐藏菜单栏set guioptions-=T " 隐藏工具栏set guioptions-=L " 隐藏左侧滚动条set gui...
阅读全文
posted @ 2014-11-05 22:27 DuskL
阅读(452)
评论(0)
推荐(0)
2014年10月7日
int转字符串 stringstream
摘要: 1. 设定一个任意数字串,数出这个数中的偶数个数,奇数个数,及这个数中所包含的所有位数的总数,将答案按 “偶-奇-总” 的位序,排出得到新数。重复进行,最后会得到 123。 1 #include 2 #include 3 using namespace std; 4 int main() 5 { 6...
阅读全文
posted @ 2014-10-07 21:18 DuskL
阅读(557)
评论(0)
推荐(0)
产生随机数,测试快排
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 int main() 8 { 9 srand(unsigned(time(0))); 10 freope...
阅读全文
posted @ 2014-10-07 21:16 DuskL
阅读(326)
评论(0)
推荐(0)
2014年9月15日
cf 118B
摘要: B. Present from Lenatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya's birthday is approach...
阅读全文
posted @ 2014-09-15 23:12 DuskL
阅读(345)
评论(0)
推荐(0)
2014年9月1日
扑克牌2
摘要: 随机发牌:去掉大小王,发给4个人,每人发13张,要求分四行,并按花色和牌点排序。样例:SAK9 HKT9876 DQ32 CJ。 1 #include 2 #include 3 using namespace std; 4 const char puke[]="123456789TJQK";//转换...
阅读全文
posted @ 2014-09-01 18:46 DuskL
阅读(460)
评论(0)
推荐(0)
2014年8月29日
扑克牌
摘要: 假定一副新扑克牌的顺序为:大王、小王、黑桃A,2,3,…,T,J,Q,K、红心A,2,3,…,T,J,Q,K、方块 A,2,3,…,T,J,Q,K、梅花A,2,3,…,T,J,Q,K。现将两副扑克牌摞放在一起,然后将最上面的一张牌舍去,将之后的一张牌移到整副牌 的最下面,重复此过程。问:最后剩下的是...
阅读全文
posted @ 2014-08-29 22:52 DuskL
阅读(667)
评论(5)
推荐(0)
2014年8月28日
找规律
摘要: 1.1 31 1 1 33 1 1 31 3 2 1 1 31 1 1 3 1 2 2 1 1 33 1 1 3 1 1 2 2 2 1 1 3……第一行是默认的1 3;从第二行开始 一个1 一个3 所以是1 1 1 3第三行 三个1 一个三 所以是3 1 1 3第四行 一个3 两个1 一个3 所以...
阅读全文
posted @ 2014-08-28 23:26 DuskL
阅读(407)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告