上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: #include <iostream> #include <vector> using namespace std; int main(){ vector<int> a; a.push_back(1); a.push_back(3); a.push_back(2); for(int i=0;i<a. 阅读全文
posted @ 2024-10-27 09:58 爱吃泡面的皮卡 阅读(13) 评论(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( 阅读全文
posted @ 2024-08-09 09:54 爱吃泡面的皮卡 阅读(40) 评论(0) 推荐(0)
摘要: #include <iostream> #include <iomanip> using namespace std; int main(){ int c,d,h,s,u,t; char f; cout<<"请输入棋盘的大小"<<endl; cin>>c>>d; cout<<"请输入人物的坐标"<< 阅读全文
posted @ 2024-06-29 09:20 爱吃泡面的皮卡 阅读(30) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int n(int a){ if(a==1){ return 1; } return a*n(a-1); } int main(){ int a; cin>>a; cout<<n(a); return 0; } 阅读全文
posted @ 2024-06-22 08:45 爱吃泡面的皮卡 阅读(22) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; int a[n]; for(int i=0;i<n;i++){ cin>>a[i]; } for(int i=0;i<n-1;i++){ for(int 阅读全文
posted @ 2024-06-21 19:44 爱吃泡面的皮卡 阅读(20) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; void happy(int a[1000],int n,int m){ int i=m,j=n,t=a[m]; if(i>j)return ; while(i!=j){ while(a[j]>=t&&i<j) 阅读全文
posted @ 2024-06-15 10:00 爱吃泡面的皮卡 阅读(12) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; long long a(int b){ int sum=1; if(b==1){ return 1; }else{ for(int j=1;j<=b;j++){ sum*=j; } } return sum+a 阅读全文
posted @ 2024-06-08 09:32 爱吃泡面的皮卡 阅读(14) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; int main(){ int n,s[100],z; cin>>n; for(int i=0;i!=0;i++){ s[i]=n%2; z++; n/=2; } for(int i=z-1;i>=0;i--) 阅读全文
posted @ 2024-06-02 08:56 爱吃泡面的皮卡 阅读(22) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main() { cout<<"input a number:"<<endl; int d; vector<int> vec; cin>>d; while (d) { vec 阅读全文
posted @ 2024-06-02 08:55 爱吃泡面的皮卡 阅读(79) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { long n; int p,c,m=0,s[100]; cout<<"输入要转换的数字:"<<endl; cin>>n; cout<<"输入要转换的进制:"<<endl; cin>>p; co 阅读全文
posted @ 2024-06-02 08:54 爱吃泡面的皮卡 阅读(36) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页