码迷,mamicode.com
首页 >  
搜索关键字:begin now    ( 14068个结果
.gitignore 失效问题解决
对于Git,已经跟踪的文件,再加入到.gitignore中,会使忽略失效。使用下面3个命令使它重新生效git rm -r --cached .git add .git commit -m ".gitignore is now working." 完成之后push到你的代码库即可。
分类:其他好文   时间:2014-05-30 11:43:21    阅读次数:318
数位dp(求1-n中数字1出现的个数)
题意:求1-n的n个数字中1出现的个数。解法:数位dp,dp[pre][now][equa] 记录着第pre位为now,equa表示前边是否有降数字(即后边可不能够任意取,true为没降,true为已降);常规的记忆化搜索代码:/***********************************...
分类:其他好文   时间:2014-05-30 09:00:21    阅读次数:232
webstorm 注册码,亲测可用
WebStorm注册码User Name:EMBRACELicense Key:===== LICENSE BEGIN =====24718-1204201000001h6wzKLpfo3gmjJ8xoTPw5mQvYYA8vwka9tH!vibaUKS4FIDIkUfy!!f3C"rQCIRbSh...
分类:Web程序   时间:2014-05-30 06:43:59    阅读次数:218
生化武器2--bfs
1 #include //bfs; 2 #include 3 #include 4 #include 5 using namespace std; 6 struct data 7 { 8 int x,y,t; 9 }now,pos; 10 int n,m,t,dis[...
分类:其他好文   时间:2014-05-30 01:26:49    阅读次数:242
用GetTickCount()计算一段代码执行耗费的时间的小例子
var aNow,aThen,aTime:Longint;begin aThen := GetTickCount(); Sleep(1000);//代码段 aNow := GetTickCount(); aTime := aNow-aThen; ShowMess...
分类:其他好文   时间:2014-05-29 21:43:26    阅读次数:250
leetcode -- 4sum
class Solution {public: vector > ret; vector subret;public: vector > fourSum(vector &num, int target) { sort(num.begin(),num.end()); ...
分类:其他好文   时间:2014-05-29 09:31:13    阅读次数:288
ZOJ 3209 Treasure Map (Dancing Links)
Treasure MapTime Limit:2 Seconds Memory Limit:32768 KBYour boss once had got many copies of a treasure map. Unfortunately, all the copies are now brok...
分类:其他好文   时间:2014-05-29 04:02:47    阅读次数:313
POJ 3744 Scout YYF I 矩阵快速幂
Scout YYF ITime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 4452Accepted: 1159DescriptionYYF is a couragous scout. Now he is on a dangerous mi...
分类:其他好文   时间:2014-05-28 19:00:38    阅读次数:289
FastReport 数据过滤
FastReport 数据过滤在DataBind 的 OnBeforePrint 设置条件例:显示 大于0 的数据procedure MasterData1OnBeforePrint(Sender: TfrxComponent);begin MasterData1.Visible := () > 0...
分类:其他好文   时间:2014-05-28 12:57:36    阅读次数:448
Sequence用堆排序
DescriptionGiven m sequences, each contains n non-negative integer. Now we may select one number from each sequence to form a sequence with m integers...
分类:其他好文   时间:2014-05-28 00:05:22    阅读次数:298
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!