自定义博客皮肤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)
  • 资源 (1)
  • 收藏
  • 关注

原创 RPG角色

#include #include #include #include void main(){    int b,c,e;char a[20];srand((unsigned)time(NULL));int s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12;s1=rand()%5+3; s2=rand()%5+8;s3=

2017-04-15 12:13:37 264

原创 24点游戏

#include#include#include  #include using namespace std;void main()  { int data[4];int a,b,c,d;     int i;  #define min 1    //随机数产生的范围      #define max 13srand((unsigned)t

2017-04-12 10:00:37 214

原创 使用三种方法求两个整数的最大公约数

#include#includeusing namespace std;void way1()   //穷举法{coutint a,b;cin>>a>>b;   //从键盘输入两个数int n=a;if (n>b)n=b;   //取两个数中的较小数    for(int i=n;i>=1;i--){if (a%i==0&&b%i==0)

2017-03-22 17:15:15 1174

原创 三天打鱼两天晒网

#include #includeint fishing(int year,int month,int day); using namespace std;int main() { int year,month,day; coutcin>>year>>month>>day; fishing(year,month,day); return 0; } i

2017-03-15 17:29:51 288

原创 个人编码模板

个人编码模板1.程序块要采用缩进风格编写,缩进的空格数为4个。 2.相对独立的程序块之间、变量说明之后必须加空行。示例:如下例子不符合规范。if (!valid_ni(ni)){    ... // program code}repssn_ind = ssn_data[index].repssn_index;repssn_ni  = ssn_data[ind

2017-03-11 17:35:25 446

NetAssist.exe

这是一个亲测很好用的网络调试助手,支持TCP/IP和UDP,可以模拟客户端和服务端,支持ASCII编码和16进制编码

2020-04-03

空空如也

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

TA关注的人

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