发表评论取消回复
相关阅读
相关 PAT 甲级 1129 Recommendation System (25 point(s)) set自动排序
题目题目链接思路题目大意:给一个人的选座记录,根据用户以往选择座位的次数来为推荐k个座位,按照选择的次数从大往小推荐,如果次数一样则按id从小到大排序做法:定义一个结构体...
相关 PAT(甲级)1047 Student List for Course (25point(s))
题目题目链接思路题目大意:给出每个人所选的科目,要求按科目输出选择的人有哪些;先来分析一下,我们肯定需要为每个科目开一个数组,存储有哪些人选择了这个科目,但有个问题,名字...
相关 PAT(甲级)1024 Palindromic Number (25point(s))
题目题目链接思路题目大意:判断一个字符串是不是回文串,如果不是可以翻转后相加在判断是不是回文串;本质是大数相加问题,大数相加需要先把数字翻转一下,将个位数字放到数组的第0...
相关 1039 Course List for Student
1039 Course List for Student 0、题目 Zhejiang University has 40000 students and provi
相关 PAT 甲级 1083 List Grades (25 分)
1083 List Grades (25 分) Given a list of N student records with name, ID and grade. You
相关 PAT 甲级 1028 List Sorting (25 分) STL +sort
1028 List Sorting (25 分) Excel can sort records according to any column. Now you are
相关 1047. Student List for Course (25)
Zhejiang University has 40000 students and provides 2500 courses. Now given the register
相关 1039. Course List for Student (25)
Zhejiang University has 40000 students and provides 2500 courses. Now given the student
相关 (PAT)1047 Student List for Course (哈希的应用)
Zhejiang University has 40,000 students and provides 2,500 courses. Now given the regist
相关 PAT甲级 - 1002 A+B for Polynomials (25 分)
题目链接:[(PAT甲级)1002 A+B for Polynomials (25 分)][PAT_1002 A_B for Polynomials _25] This ti
还没有评论,来说两句吧...