- 博客(6)
- 收藏
- 关注
转载 DP专项
动态规划一直是ACM竞赛中的重点,同时又是难点,因为该算法时间效率高,代码量少,多元性强,主要考察思维能力、建模抽象能力、灵活度。本人动态规划博客地址:http://blog.csdn.net/cc_again/article/category/1261899**********************************************************
2017-03-31 20:54:29 408
转载 数据库 SQL语言中 列级约束和表级约束
你知道吗?约束分为列级约束和表级约束。 如果我们了解了这件事情,那么当我们用T—SQL语句创建约束时,思路就会更加清晰。了解了这件事,相信我们会对约束有更进一步的理解。 大家都知道,在SQL Server 2000中有5种约束: 主键约束(primary key ) 唯一性约束(unique) 检查约束(check)
2017-03-31 09:47:51 6900
原创 hdu 4055 Number String
题目连接:http://acm.hdu.edu.cn/showproblem.php?pid=4055Problem DescriptionThe signature of a permutation is a string that is computed as follows: for each pair of consecutive elements of the p
2017-03-28 19:49:58 238
原创 第六届蓝桥杯题解
1、奖券数目法一:#include int main() { int ans=0; for(int i=1; i<=9; i++) for(int j=0; j<=9; j++) for(int k=0; k<=9; k++) for(int l=0; l<=9; l++)
2017-03-17 15:20:29 757
原创 蓝桥杯算日期VB通解
随便打开一个目录, 右键-新建文本文件重命名 xxx.vbs (需要显示后缀名)vbs是VB Script缩写... 因为VB中有2个很简单的时间函数datediff(时间间隔)和dateadd(时间相加)所以日期的填空题能1分钟内做完=========================我叫分割线=========================DateDiff(inte
2017-03-17 14:45:04 574
原创 dfs生成排列组合模板
枚举可重复排列的模板[cpp] view plain copy #include using namespace std; int n,m,ans[15]; int a[15];//待排列的数存储在此 bool vis[15]; void dfs(int cnt)//按字典序输出n个数选m个数的所有排列 {
2017-03-10 00:05:24 644 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人