自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

wyx819的专栏

会逐渐更新技术学习文章,对全栈技术感兴趣,如vue.js,spring框架,微服务架构,nosql等

  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 2499. 平方数

/* * ===================================================================================== * * Filename: 1.cpp * * Description: * * Version: 1.0 * Created: 2011年11月

2011-11-13 13:24:45 761

原创 1721. Gray code[Special judge]

#include #include #include using namespace std; void gray(int a[16],int n) { printf("%d",a[0]); for( int i=1; i<n ; i++ ) { if( (a[i]+a[i-1])%2==0 ) { printf("%c",'0'); }

2011-11-08 20:01:51 487

原创 1298. 数制转换

#include #include #include using namespace std; void change(long n) { string str; int tmp=0; int num; while( n/3!=0 ) { num=n%3+tmp; if( num==2 ) { tmp=1; str='-'+str

2011-11-08 18:25:29 548

原创 1150. 简单魔板[Special judge]

#include #include #include #include using namespace std; int factoral[]={1,1,2,6,24,120,720,5040,40320};//0到8的阶乘 struct statue { long data;//记录当前的状态,技巧是将一个数组转换成整数 string path;//记录路径 };

2011-11-07 20:00:29 641

原创 uva-850-Crypt Kicker II

/*  * =====================================================================================  *  *       Filename:  y.cpp  *  *    Description:    *  *        Version:  1.0  *        Created:

2011-11-02 09:09:57 627

空空如也

空空如也

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

TA关注的人

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