02 2020 档案
摘要:STL set UVA10815 AC码 #include<iostream> #include<string> #include<set> #include<sstream> using namespace std; string s,buf; set<string> dict; //string
阅读全文
posted @ 2020-02-28 23:32
juuich
摘要:STL vector UVA101 AC码 #include<iostream> #include<vector> #include<cstring> using namespace std; const int maxx=30; int n; string s1,s2; vector <int>
阅读全文
posted @ 2020-02-28 21:16
juuich
摘要:1.a->b意味着(*a).b。 2.对比两个函数 bool cmp (stu a,stu b) { if(a.sum==b.sum) { if(a.c==b.c) { return a.num>b.num; } else return a.c>b.c; } else return a.sum >b
阅读全文
posted @ 2020-02-25 23:12
juuich

浙公网安备 33010602011771号