上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: #include <iostream> #include <vector> using namespace std; #define list 1000 struct a{ string name; int id; int age; string Class; }index; void MAIN() 阅读全文
posted @ 2023-12-16 10:01 王一行(小号) 阅读(34) 评论(0) 推荐(0)
摘要: #include <iostream> #include <windows.h> using namespace std; //声明变量 HWND hand = NULL; DWORD pid = 0; HANDLE hProcess = NULL; DWORD BaseValue = 0; DWO 阅读全文
posted @ 2023-12-15 19:48 王一行(小号) 阅读(59) 评论(0) 推荐(0)
摘要: #include <iostream> #include <vector> using namespace std; int main(){ vector<int>a; int b[] = {1,2,3,4,5}; vector<int>c(b,b+sizeof(b)/sizeof(int)); a 阅读全文
posted @ 2023-12-03 09:53 王一行(小号) 阅读(14) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2023-11-19 10:03 王一行(小号) 阅读(8) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; string no1(string);//清除多余空格 int no2(string,string);//计算 int no3(string,string);//寻找乘除的上一个运算符号在第几位 int no 阅读全文
posted @ 2023-11-11 10:03 王一行(小号) 阅读(22) 评论(0) 推荐(0)
摘要: 5.话题焦点人物 #include <bits/stdc++.h> using namespace std; map<int,int>x; int main(){ int n,maxx = 0,z; cin>>n; int a[n+1],b[n+1],k[n+1][21]; for(int i = 阅读全文
posted @ 2023-11-08 19:29 王一行(小号) 阅读(53) 评论(0) 推荐(0)
摘要: 斐波那契数列 #include <iostream> using namespace std; int main(){ int n; cin>>n; int f[100]; f[1] = 1;f[2] = 1; for(int i = 3;i<=n;i++){ f[i] = f[i-1]+f[i-2 阅读全文
posted @ 2023-11-04 09:51 王一行(小号) 阅读(32) 评论(0) 推荐(0)
摘要: #include <iostream> #include <fstream> using namespace std; int main(){ char data[100]; ofstream out; string name; string _data; ifstream outfile; out 阅读全文
posted @ 2023-11-03 20:06 王一行(小号) 阅读(14) 评论(0) 推荐(0)
摘要: 斐波那契数列(1) #include <iostream> using namespace std; int x(int n){ if(n<=2){ return 1; }else{ return x(n-1)+x(n-2); } } int main(){ int n; cin>>n; int a 阅读全文
posted @ 2023-10-29 09:48 王一行(小号) 阅读(15) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-10-29 09:27 王一行(小号) 阅读(16) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页