自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 春联

#include#includeusing namespace std;int main(){ int i,j,n,t=0,k,q; char str[10][8]; cin>>n; for(i=0;i<n;i++) cin>>str[i]; for(i=0;i<n-1;i++) for(j=i+1;j<n;j++) { char str1[10]={0},str2[10]={0}; for(q=0,k=0;q<7;q++)

2022-01-19 17:47:29 277

原创 乔治的恐龙

#dinosaur.pyimport turtle as t#龙身t.setup(1000,600) # 设置画布的大小t.speed(10) # 设置画笔速度为10t.pensize(5) # 设置画笔大小t.pencolor(“SpringGreen4”) # 设置画笔颜色t.penup() # 提笔t.goto(250,180) # 画笔前往坐标(250,180)t

2022-01-08 10:32:38 94

原创 猜数游戏

#include#include#include#include<windows.h>using namespace std;int main(){ srand(time(0)); int n=rand()%1000; int c=-1,ans=0; cout<<“你要猜的数字为:***”<<endl<<endl; while(c!=n){ cout<<“你猜的数是:”; cin>>c; ans++; if(c>n){

2022-01-03 15:56:58 2612

原创 玫瑰

import turtle as tt.setup(800,800)t.hideturtle()t.speed(11)t.penup()t.goto(50,-450)t.pensize(5)t.pencolor(“white”)t.seth(140)t.pendown()t.speed(10)t.circle(-300,60)t.fd(100) #叶子t.seth(10)t.fd(50)t.fillcolor(“green”)t.begin_fill()t.right(40)t.circle(120,80

2022-01-03 11:44:49 206

原创 来自鬼灭之刃迷的发表

炎柱母亲:知道你为什么刚生下来就比别人更强壮吗?那是因为上天要你用自己的天赋保护那些弱小之人。用自己的天赋欺负别人、中饱私囊。都是不允许的。炎柱临死前:不管自己的懦弱和不中用,再怎么狠狠打击你。都要挺起胸膛,咬紧牙关向前迈进。就算停下脚步蹲坐下来,时间的流动也不会为你停止。时间不可能陪伴你承担悲伤。无须把我的死放在心上…炎柱:我应该做的事,我必须实践的事。都已经做到了吗?母亲:你做的非常好哦!炎柱笑,亡猪头:除了努力回应前辈的期望外,其他的事情不要想那么多。那个男人的名字:炼狱杏寿郎。鬼灭之刃之无

2022-01-03 11:43:15 85

原创 五子棋c加加

#include #include <conio.h>using namespace std;char board[16][16],o;void init(){for(int i=0;i<=15;i++)for(int j=0;j<=15;j++)board[i][j]=’-’;for(int i=1;i<=15;i++) board[0][i]=i+64;for(int j=1;j<=15;j++) board[j][0]=j+64;board[0]

2022-01-03 11:38:23 465

原创 py画玫瑰编程员表白专用

import turtleimport randomdef love(x, y): # 在(x,y)处画爱心lalala lv = turtle.Turtle() lv.hideturtle() lv.up() lv.goto(x, y) # 定位到(x,y) def curvemove(): # 画圆弧 for i in range(20): lv.right(10) lv.forward(2) lv.c

2022-01-03 11:35:25 111

原创 py画樱花

import turtle as Timport randomimport time # 画樱花的躯干(60,t)def Tree(branch, t): time.sleep(0.0005) if branch > 3: if 8 <= branch <= 12: if random.randint(0, 2) == 0: t.color(‘snow’) # 白 else:

2022-01-03 11:31:42 215

原创 俄罗斯方块

#include <easyx.h>#include <conio.h>#include <time.h>// 定义常量、枚举量、结构体、全局变量#define WIDTH 10 // 游戏区宽度#define HEIGHT 22 // 游戏区高度#define UNIT 20 // 每个游戏区单位的实际像素// 定义操作类型enum CMD{CMD_ROTATE, // 方块旋转CMD_LEFT, CMD_RIGHT, CMD_DO

2022-01-03 11:30:37 105

原创 石头剪刀布

#include#include<windows.h>#include#include#include#include<conio.h>#include #include <mmsystem.h>#include #pragma comment(lib, “winmm.lib”)#include<stdio.h>#include<stdlib.h>#include<windows.h>#include<conio.h>#in

2022-01-03 10:32:41 503

转载 奥利给,圣诞树,圣诞快乐

import turtle as t #as就是取个别名,后续调用的t都是turtlefrom turtle import *import random as rn = 100.0t.delay(0)t.tracer(0)t.Turtle().screen.delay(0)#speed(“fast”) #定义速度screensize(bg=‘black’) #定义背景颜色,可以自己换颜色left(90)forward(3*n)color(“orange”, “yellow”)#定

2021-12-25 17:22:55 93

原创 用C语言做圣诞树

#include<stdio.h>int main(void){int i,j,k,z,a,n; printf(“首先祝这个电脑前的小可爱圣诞快乐(~ ̄▽ ̄)~”);printf("\n"); printf(“接下来有几个选项需要您的选择你需要我的创造者给您画的圣诞树还是自己做一个呢?”,n); printf("\n"); printf(“看创造者的选0如果想自己做呢选1祝您开心o(@)o”);printf("\n"); scanf("%d",&a); if(a0) {char p=

2021-12-15 18:36:23 2278

空空如也

空空如也

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

TA关注的人

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