上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: #include <bits/stdc++.h> #include <fstream> using namespace std; int main(){ ofstream out; string name; int name1; ifstream outfile; outfile.open("out 阅读全文
posted @ 2024-07-29 14:51 王一行(小号) 阅读(11) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; const int N = 1e6+10; string s1,s2; int a[N],b[N],c[N],t[N*2]; bool comp(){ if(a[0]!=t[0]) return a[0]>t 阅读全文
posted @ 2024-07-28 20:09 王一行(小号) 阅读(19) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2024-07-12 15:42 王一行(小号) 阅读(15) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-07-12 15:36 王一行(小号) 阅读(32) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System. 阅读全文
posted @ 2024-06-22 15:09 王一行(小号) 阅读(26) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> #include "minecraft.h" #include <Windows.h> using namespace std; TxMinecraft mc; int main() { bool con = mc.ConnectMinecraft( 阅读全文
posted @ 2024-06-15 10:00 王一行(小号) 阅读(17) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; vector<int> a; a.push_back(1); int j; for(int g = 2;g<=n;g++){ for(int i = 0; 阅读全文
posted @ 2024-06-14 19:46 王一行(小号) 阅读(13) 评论(0) 推荐(0)
摘要: //mysocket.h #ifndef __MYSOCKET_H__ #define __MYSOCKET_H__ //头文件保护 #include<bits/stdc++.h> #include<winsock.h> #pragma comment(lib,"ws2_32.lib") using 阅读全文
posted @ 2024-06-08 10:03 王一行(小号) 阅读(17) 评论(0) 推荐(0)
摘要: //客户端 #include "mysocket.h"//头文件 using namespace std; int main(){ cout<<" 客户端 \n"; startup(); //启动 //检测版本号 if(LOBYTE(wsdata.wVersion)!=2 || HIBYTE(wsd 阅读全文
posted @ 2024-06-08 10:03 王一行(小号) 阅读(66) 评论(0) 推荐(0)
摘要: //服务端(以C++作范例) #include"mysocket.h" //导入头文件:由于mysock头文件本身就有其它文件,这里无需导入 using namespace std; SOCKET s_accept; int main(){ cout << " 服务端 \n"; cout << "正 阅读全文
posted @ 2024-06-08 10:02 王一行(小号) 阅读(31) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页