摘要: #include #include #include using namespace std; int N, G, K; struct P{ char name[20]; int score; bool operator a.score; else return strcmp(name, a.name)= G) sg++; else if (s[i].score >=... 阅读全文
posted @ 2019-03-07 23:32 予歌 阅读(611) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; class test{ public: int v; /*构造函数*/ test():v(0){} test(const int &a):v(a){} test(const test &t1):v(t1.v){} /*以下重载小于号 > 输出> (is... 阅读全文
posted @ 2019-03-07 22:45 予歌 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 给定一个完全由小写英文字母组成的字符串等差递增序列,该序列中的每个字符串的长度固定为 L,从 L 个 a 开始,以 1 为步长递增。例如当 L 为 3 时,序列为 { aaa, aab, aac, ..., aaz, aba, abb, ..., abz, ..., zzz }。这个序列的倒数第27 阅读全文
posted @ 2019-03-07 21:17 予歌 阅读(652) 评论(0) 推荐(0) 编辑