自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 c++游戏之双人作战

代码如下:#include<iomanip>#include<iostream>#include<conio.h>#include<windows.h>#include<cstdio>#include<vector>#include<cstring>#include<string>#define bottom 40#define jumph 6#define skills 6#defin

2022-03-12 16:18:50 1270

原创 c++游戏之城市守卫战

代码如下#include<bits/stdc++.h>#include<windows.h>#include<conio.h>#include<time.h>using namespace std;int t,nl,dl,Money,Moo,Dao,Yi,Shan,Qing,Hu;int Biao,Biaob,Bao=1,Baob,Baod=1,Baodb,Hub,Fengb,Sha,Jian,Shab,Jianb;int X[10];bo

2022-03-12 15:01:44 5133

原创 免费玩c++游戏

忍者必须死盗版#include<bits/stdc++.h>#include<windows.h>#include<stdio.h>#include<conio.h>#include<time.h>#define Nor if(B[b].x<5) B[b].x=5;#define Out1 Bx1-Bvx1<=6||Bx1-Bvx1>=28||By1-Bvy1<=7||By1-Bvy1>=27#def

2022-03-12 14:49:20 176

原创 各类邪恶代码

盘点那些邪恶的代码

2022-03-12 14:44:39 3029

原创 洛谷 CF1100C

用C语言做这道题时要用到sin函数,需要注意的是sin函数sin函数需要传递的是弧度, 弧度=角度×π÷180∘代码如下:当然还有其他思路,就不一一道来了洛谷账号

2022-03-05 20:44:35 425

原创 全排列 next_permutation() 函数的用法

在头文件<algorithm>里面有如下代码:int a[];do{}while(next_permutation(a,a+n));可产生1~n的全排列有如下代码:#include <stdio.h>#include <algorithm>using namespace std;int main(){ int n; while(scanf("%d",&n)&&n){ int a[1000];...

2022-03-05 20:26:02 808

空空如也

空空如也

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

TA关注的人

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