07 2023 档案
小青蛙跳台阶
摘要:#include <iostream> using namespace std; int a(int n){ if(n<=2){ return n; }else{ return a(n-1)+a(n-2); } } int main(int argc, char** argv) { system(" 阅读全文
posted @ 2023-07-31 19:29 爱吃泡面的皮卡 阅读(7) 评论(0) 推荐(0) 编辑
求最大公因数
摘要:#include <iostream> using namespace std; int i(int w,int k){ if(w%k==0){ return k; }else{ return i(k,w%k); } } int main(int argc, char** argv) { int w 阅读全文
posted @ 2023-07-31 19:13 爱吃泡面的皮卡 阅读(6) 评论(0) 推荐(0) 编辑
9 9乘法表
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int a[10][10]; for(int i=1;i<=9;i++){ for(int j=1;j<=i;j++){ a[i][j]=i*j; c 阅读全文
posted @ 2023-07-31 08:55 爱吃泡面的皮卡 阅读(13) 评论(0) 推荐(0) 编辑
棋盘移动
摘要:#include <iostream> using namespace std; int a(int n){ if(n==4){ cout<<"4,5-->9,10"<<endl; cout<<"8,9-->4,5"<<endl; cout<<"2,3->8,9"<<endl; cout<<"7,8 阅读全文
posted @ 2023-07-28 19:58 爱吃泡面的皮卡 阅读(9) 评论(0) 推荐(0) 编辑
阶乘
摘要:#include <iostream> using namespace std; int a(int n){ if(n<=2){ return 1; } return a(n-1)+a(n-2);//a(n-1)*n } int main(int argc, char** argv) { syste 阅读全文
posted @ 2023-07-28 19:44 爱吃泡面的皮卡 阅读(7) 评论(0) 推荐(0) 编辑
数字三角形
摘要:#include <stdio.h> #include<iostream> #include <iomanip> using namespace std; int main(){ int data[9][9]; int i=0; int j=0; for(i=0;i<9;i++){ for (j=0 阅读全文
posted @ 2023-07-28 18:41 爱吃泡面的皮卡 阅读(9) 评论(0) 推荐(0) 编辑
车厢重组
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int n,b,c; cin>>n; int a[n]; for(int i=0;i<n;i++){ cin>>a[i]; } for(int i=0 阅读全文
posted @ 2023-07-26 19:24 爱吃泡面的皮卡 阅读(9) 评论(0) 推荐(0) 编辑
小数变整数
摘要:#include <iostream> #include <cmath> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input 阅读全文
posted @ 2023-07-26 09:09 爱吃泡面的皮卡 阅读(49) 评论(0) 推荐(0) 编辑
字符串的展开
摘要://字符串的展开 #include <bits/stdc++.h> using namespace std; int p1,p2,p3; string S,Ans; char ToChar(char ch){ if(p1==3){ return '*'; } return p1==1?tolower 阅读全文
posted @ 2023-07-24 19:59 爱吃泡面的皮卡 阅读(93) 评论(0) 推荐(0) 编辑
魔刀千刃
摘要:#include <iostream>#include "minecraft.h"#include "Windows.h"TxMinecraft mc;using namespace std;int X,Y,Z,id=0,data=0;int a=0;void chu_shi_hua() { X=4 阅读全文
posted @ 2023-07-24 09:40 爱吃泡面的皮卡 阅读(82) 评论(0) 推荐(0) 编辑
1
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { char n[8]; int b=0; for(int i=0;i<8;i++){ cin>>n[i]; } for(int i=0;i<8;i++) 阅读全文
posted @ 2023-07-22 08:42 爱吃泡面的皮卡 阅读(9) 评论(0) 推荐(0) 编辑
猫和老鼠
摘要:#include <bits/stdc++.h> using namespace std; int main(int argc, char** argv) { int N,x,y,X,Y; cin>>N; for(int k=0;k<N;k++){ int m=0,c=0,count=0; stri 阅读全文
posted @ 2023-07-21 20:15 爱吃泡面的皮卡 阅读(17) 评论(0) 推荐(0) 编辑
四合院
摘要:#include <iostream> #include "minecraft.h" #include "Windows.h" TxMinecraft mc; using namespace std; int x,y,z,id,data; int b=0; void a(){ mc.setVaria 阅读全文
posted @ 2023-07-17 18:55 爱吃泡面的皮卡 阅读(25) 评论(0) 推荐(0) 编辑
蜡笔小新
摘要:#include <iostream> #include <string> #include "Windows.h" #include "minecraft.h" TxMinecraft mc; using namespace std; int main(int argc, char** argv) 阅读全文
posted @ 2023-07-14 10:00 爱吃泡面的皮卡 阅读(19) 评论(0) 推荐(0) 编辑
哆啦A梦
该文被密码保护。
posted @ 2023-07-14 08:17 爱吃泡面的皮卡 阅读(0) 评论(0) 推荐(0) 编辑
100000之内取回文数
摘要:#include <iostream> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int main 阅读全文
posted @ 2023-07-11 09:01 爱吃泡面的皮卡 阅读(13) 评论(0) 推荐(0) 编辑
剪刀石头布
摘要:#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main(int argc, char** argv) { /*int x,y,n,ans=0; for(int i=50;i<=60;i 阅读全文
posted @ 2023-07-10 09:46 爱吃泡面的皮卡 阅读(17) 评论(0) 推荐(0) 编辑
计算机
摘要:#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main(int argc, char** argv) { int x,y,symbol,ans; int n,temp,sum=0; s 阅读全文
posted @ 2023-07-10 09:27 爱吃泡面的皮卡 阅读(14) 评论(0) 推荐(0) 编辑
病毒
摘要:#include <bits/stdc++.h> using namespace std; /* run this program using the console pauser or add your own getch, system("pause") or input loop */ int 阅读全文
posted @ 2023-07-08 20:14 爱吃泡面的皮卡 阅读(19) 评论(0) 推荐(0) 编辑
回文数
摘要:#include <iostream> /* run this program using the console pauser or add your own getch, system("pause") or input loop */ using namespace std; int main 阅读全文
posted @ 2023-07-08 09:51 爱吃泡面的皮卡 阅读(7) 评论(0) 推荐(0) 编辑
沙漠神殿 (x)
摘要:#include <iostream> #include <string> #include "minecraft.h" using namespace std; TxMinecraft mc; int x,y,z,id,data; void a(){ //第一面 id=24; data=2; mc 阅读全文
posted @ 2023-07-07 20:30 爱吃泡面的皮卡 阅读(20) 评论(0) 推荐(0) 编辑
一位数组(比大小)
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int q[3]{1,2,3}; int max; cin>>max; for(int i=0;i<3;i++){ if(max<q[i]){ max 阅读全文
posted @ 2023-07-07 08:24 爱吃泡面的皮卡 阅读(14) 评论(0) 推荐(0) 编辑
幽灵粒子
摘要:#include <iostream> using namespace std; int main() { int n,l,d,e; cin>>n>>l; int a[n],b[n],c[n]; for(int i=0;i<n;i++){ cin>>a[i]; b[i]=max(l+1-a[i],a 阅读全文
posted @ 2023-07-01 19:24 爱吃泡面的皮卡 阅读(13) 评论(0) 推荐(0) 编辑
F-15 战斗机
该文被密码保护。
posted @ 2023-07-01 19:16 爱吃泡面的皮卡 阅读(0) 评论(0) 推荐(0) 编辑
平台上的小球
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { int N; cin>>N; int H[1001]; int L[1001]; int R[1001]; for(int i=1;i<=N;i++) 阅读全文
posted @ 2023-07-01 17:55 爱吃泡面的皮卡 阅读(5) 评论(0) 推荐(0) 编辑
逢7必过
摘要:#include <iostream> using namespace std; int main(int argc, char** argv) { for(int i=1;i<=20;i++){ if(i%7==0||i%10==7){ cout<<"pass"<<endl; }else{ cou 阅读全文
posted @ 2023-07-01 08:31 爱吃泡面的皮卡 阅读(71) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示