上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: #include <iostream> using namespace std; int main(){ int N; cin>>N; int a[N]; int c=0; for(int i=0;i<N;i++){ cin>>a[i]; } for(int i=0;i<N;i++){ for(in 阅读全文
posted @ 2023-07-31 20:07 陈若麟 阅读(28) 评论(0) 推荐(0)
摘要: #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 n; cin>>n; cout<<a(n); ret 阅读全文
posted @ 2023-07-31 20:06 陈若麟 阅读(15) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int a(int b,int c){ if(b%c==0){ return c; }else{ return a(c,b%c); } } int main() { int d,e; cin>>d>>e; cout<< 阅读全文
posted @ 2023-07-31 20:06 陈若麟 阅读(17) 评论(0) 推荐(0)
摘要: /* #include <iostream> using namespace std; void a(int n){ cout<<n; } int main(){ int N; cin>>N; a(N); system("pause"); return 0; } */ #include <iostr 阅读全文
posted @ 2023-07-28 19:59 陈若麟 阅读(27) 评论(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(ch):toup 阅读全文
posted @ 2023-07-24 19:59 陈若麟 阅读(21) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(int argc, char** argv) { int N; cin>>N; int x,y,X,Y; int m=0,c=0,b=0; string a[10]; for(int q=0;q<N; 阅读全文
posted @ 2023-07-21 20:22 陈若麟 阅读(10) 评论(0) 推荐(0)
摘要: void zhen_mu_x_zhou_2(int x_pian_yi){ no0(); y+=56; x+=56; z+=71; x+=x_pian_yi; mc.drawLine(x,y,z+1,x,y,z+2,126,10); mc.setBlock(x,y,z+3,5,2); mc.draw 阅读全文
posted @ 2023-07-21 15:10 陈若麟 阅读(12) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main(int argc, char** argv) { int n; cin>>n; char a[100][100]; char b[100][100]; int m; for(int i=1;i<=n; 阅读全文
posted @ 2023-07-08 20:21 陈若麟 阅读(26) 评论(0) 推荐(0)
摘要: #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 陈若麟 阅读(23) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int main() { int n; int h[1001],l[1001],r[1001]; cin>>n; for(int i=1;i<=n;i++){ cin>>h[i]>>l[i]>>r[i]; } for( 阅读全文
posted @ 2023-07-01 18:25 陈若麟 阅读(10) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页