摘要:
#include<iostream>#include<numeric>using namespace std;int mult(int x,int y) {return x*y;};int main(){ int a[]={1,2,3,4,5}; const int N=sizeof(a)/size 阅读全文
摘要:
#include<iostream>#include<map>#include<utility>#include<string>using namespace std;int main(){ multimap<string,string>courses; typedef multimap<strin 阅读全文
摘要:
#include<iostream>#include<map>#include<cctype>using namespace std;int main(){ map<char,int>s; char c; do{ cin>>c; if(isalpha(c)){ c=tolower(c); s[c]+ 阅读全文
摘要:
#include<iostream>#include<vector>#include<set>#include<algorithm>#include<iterator> using namespace std; int main(){ /*set<int>A; set<int>B; set<int> 阅读全文
摘要:
#include<iostream>#include<list>#include<string>#include<numeric>#include<iterator>#include<vector>#include<functional>#include<algorithm>using namesp 阅读全文
摘要:
#include<iostream>#include<string>#include<vector>using namespace std;string word (const vector&arr{}int main(){ string a[100]; int i=0; int count=0; 阅读全文
摘要:
#include<iostream>#include<map>#include<string>#include<utility>using namespace std;int main(){ map<string, int>courses; courses.insert(make_pair("CSA 阅读全文
摘要:
#include<set>#include<iterator>#include<utility>#include<iostream>using namespace std;int main(){ set<double>s; while(true){ double v; cin>>v; if(v==0 阅读全文
摘要:
#include<queue>#include<iostream>#include<cstdlib>#include<ctime>using namespace std;const int SPLIT_TIME_MIN=500;const int SPLIT_TIME_MAX=2000;class 阅读全文