自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 简单枚举

输入整数n,从大到小输出形如abcde/fghij=n的表达式,其中a~j恰好为0~9的一个排列     #include "stdafx.h" #include #include using namespace std; bool jude(int n, int fgh) {  int abc = fgh*n;  int a[10] = { 0 };  int i;  i

2014-12-29 18:00:22 233

原创 Sicily 1010. Zipper 尾递归

Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed arbitrarily, but each must sta

2014-12-21 16:19:54 309

原创 从Alphacode看斐波那契数列与线性动态规划

Alice and Bob need to send secret messages to each other and are discussing ways to encode their messages: Alice: "Let's just use a very simple code: We'll assign `A' the code word 1, `B' will be 2, a

2014-12-20 10:37:01 309

原创 关于c++中派生类构造函数初始化基类的记录

本人初学c++ 这篇东西类似于学习日记,用于日后回顾,有什么错误的认识也麻烦大家指正。 附上代码 #include using namespace std; class father{  public:   int lenofjj;   int hight;   father(int &a,int &b):lenofjj(a),hight(b){       } }; c

2014-12-19 17:18:29 1522

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除