11 2023 档案
摘要:#include <bits/stdc++.h> using namespace std; string no1(string);//清除多余空格 int no2(string,string);//计算 int no3(string,string);//寻找乘除的上一个运算符号在第几位 int no
阅读全文
摘要: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 =
阅读全文
摘要:斐波那契数列 #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
阅读全文
摘要:#include <iostream> #include <fstream> using namespace std; int main(){ char data[100]; ofstream out; string name; string _data; ifstream outfile; out
阅读全文