摘要:
#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 阅读全文
摘要:
#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 = 阅读全文
摘要:
斐波那契数列(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 阅读全文