ICode9

精准搜索请尝试: 精确搜索
  • PAT-A1062 Talent and Virtue (德才论)2021-09-19 21:01:00

    A1062 Talent and Virtue (德才论) About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people’s talent and virtue. According to his theory, a man being outstanding in both talent and virtue must be a “sage(

  • 1062 Talent and Virtue (25 分)2021-02-14 12:04:03

    水题~。 struct Node { string id; int virtue,talent; int total; bool operator<(const Node &W) const { if(total == W.total) { if(virtue == W.virtue) return id<W.id; else retu

  • 【算法学习记录-排序题】【PAT A1062】Talent and Virtue2020-01-26 18:54:52

    About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theory, a man being outstanding in both talent and virtue must be a "sage(圣人)"; being less exce

  • PAT甲级 1062 Talent and Virtue 排序+模拟2019-09-01 11:36:27

    代码如下: //排序 #include<iostream> #include<string> #include<algorithm> #include<vector> using namespace std; struct people{ int id; int v_grade;//美德成绩 int t_grade;//智力成绩 int total;//总成绩 }; vector<people> sage;//

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有