自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Use bubble sort to sort the input intergers

Use bubble sort to sort the input intergers

2015-05-27 13:59:09 650

原创 Find all the narcissistic numbers from 100 to 999

In recreational number theory, a narcissistic number (also known as a pluperfect digital invariant (PPDI), an Armstrong number (after Michael F. Armstrong) or a plus perfect number) is a number that is

2015-05-24 10:13:02 1209

转载 C语言main()函数详解

Source: http://c.biancheng.net/cpp/html/725.htmlC的设计原则是把函数作为程序的构成模块。main()函数称之为主函数,一个C程序总是从main()函数开始执行的。 一、main()函数的形式在C99 标准中,只有以下两种定义方式是正确的:int main( void ) /* 无参数形式 */{ ... return 0;}i

2015-05-22 21:22:59 1196

原创 Integer Factorization

Every positive integer larger than 1 can be uniquely factorized into a product of prime numbers. These prime numbers are called the prime factors. Find all the prime factors of an input integer.

2015-05-14 13:11:58 502

原创 Check an input positive interger is a prime number or not

/* To check an input positive interger is a prime number */#include<iostream>#include<cmath>using namespace std;bool isPrime(int);int main(){ int y; cout<<"Please input a positive interger."<<end

2015-05-13 14:25:13 634

空空如也

空空如也

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

TA关注的人

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