2024年9月7日

摘要: //客户端 #include "mysocket.h" //头文件 using namespace std; int main() { cout<<" 客户端 \n"; startup(); //填充服务端:这里填和服务端一样的就好,不做解释 SOCKET client = createSocket 阅读全文

posted @ 2024-09-07 09:48 封魔NJ 阅读(5) 评论(0) 推荐(0) 编辑

2024年4月13日

摘要: #include<bits/stdc++.h>using namespace std;int main(){ // ; double a=round(13.0/5); cout<<a<<endl; return 0;} 阅读全文

posted @ 2024-04-13 08:37 封魔NJ 阅读(4) 评论(0) 推荐(0) 编辑

2024年2月20日

摘要: #include <iostream>#include <string>#include <Windows.h>#include "minecraft.h"TxMinecraft mc;using namespace std;int main() {bool con=mc.ConnectMinecr 阅读全文

posted @ 2024-02-20 15:54 封魔NJ 阅读(12) 评论(0) 推荐(0) 编辑

2023年9月23日

摘要: #include <bits/stdc++.h>using namespace std;int main(){ bool a[11]={1}; int cishu,i; for(i=1;i<=10;i++){ a[i]=true; } i=10; a[i]=false; cishu=1; while 阅读全文

posted @ 2023-09-23 09:28 封魔NJ 阅读(10) 评论(0) 推荐(0) 编辑

2023年9月9日

摘要: #include <iostream>using namespace std;int main(){ long long n,a[5000],b[5000]; cin>>n; for(int i=0;i<=n;i++){ cin>>a[i]; b[a[i]]++; } for(int i=0;i<= 阅读全文

posted @ 2023-09-09 10:02 封魔NJ 阅读(6) 评论(0) 推荐(0) 编辑

2023年9月3日

摘要: #include<bits/stdc++.h>using namespace std;void no(int a,int b){ if(b<=9){ if(a<=b){ cout<<a<<"*"<<b<<"="<<a*b<<" "; no(a+1,b); }else{ cout<<endl; no( 阅读全文

posted @ 2023-09-03 09:01 封魔NJ 阅读(8) 评论(0) 推荐(0) 编辑

2023年7月11日

摘要: #include <iostream>using namespace std;int main() { int ge,shi,bai,qian,wan,shiwan; for(int i=100;i<1000;i++){ ge=i%10; shi=i/10%10; bai=i/100%10; if( 阅读全文

posted @ 2023-07-11 09:07 封魔NJ 阅读(141) 评论(0) 推荐(0) 编辑

2023年7月2日

摘要: #include <iostream>using namespace std;int main(int argc, char** argv) { /*float max,x; cout<<"第1个数是多少:"; cin>>x; max=x; for(int i=1;i<=10;i++){ cout< 阅读全文

posted @ 2023-07-02 09:20 封魔NJ 阅读(8) 评论(0) 推荐(0) 编辑

2023年7月1日

摘要: #include <iostream>using namespace std;int main() { for(int q=1;q<=20;q++){ if(q%7==0||q%10==7){ cout<<"过"<<endl; }else{ cout<<q<<endl; } } system("pa 阅读全文

posted @ 2023-07-01 08:29 封魔NJ 阅读(34) 评论(0) 推荐(0) 编辑

2023年5月27日

摘要: #include <iostream>#include <string>#include <Windows.h>#include "minecraft.h"TxMinecraft mc;using namespace std;int main() {bool con=mc.ConnectMinecr 阅读全文

posted @ 2023-05-27 09:59 封魔NJ 阅读(40) 评论(0) 推荐(0) 编辑