07 2023 档案
摘要:#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
阅读全文
摘要:#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
阅读全文
摘要:#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<<
阅读全文
摘要:/* #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
阅读全文
摘要:#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
阅读全文
摘要:#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;
阅读全文
摘要: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
阅读全文
摘要:#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;
阅读全文
摘要:#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
阅读全文
摘要:#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(
阅读全文