![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pat-a
文章平均质量分 72
木木XD
这个作者很懒,什么都没留下…
展开
-
a1002 A+B for Polynomials (25 分)
This time, you are supposed to findA+BwhereAandBare two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, and each line contains the information of a polynomial: KN1aN1N2aN2...原创 2021-02-26 11:53:21 · 1264 阅读 · 4 评论 -
a1001 A+B Format (20 分)
Calculatea+band output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits). Input Specification: Each input file contains one test case. Each case contains a pair o..原创 2021-02-26 10:19:13 · 114 阅读 · 0 评论 -
a1063 Set Similarity (25 分)
Given two sets of integers, the similarity of the sets is defined to beNc/Nt×100%, whereNcis the number of distinct common numbers shared by the two sets, andNtis the total number of distinct numbers in the two sets. Your job is to calcula...原创 2021-02-04 21:42:44 · 60 阅读 · 0 评论 -
a1055 The World‘s Richest (25 分)
Forbes magazine publishes every year its list of billionaires based on the annual ranking of the world's wealthiest people. Now you are supposed to simulate this job, but concentrate only on the people in a certain range of ages. That is, given the net wor原创 2021-02-04 20:57:23 · 79 阅读 · 0 评论 -
a1028 List Sorting (25 分)
Excel can sort records according to any column. Now you are supposed to imitate this function. Input Specification: Each input file contains one test case. For each case, the first line contains two integersN(≤105) andC, whereNis the number of re...原创 2021-02-04 20:35:21 · 88 阅读 · 0 评论 -
a1039 Course List for Student (25 分)
Zhejiang University has 40000 students and provides 2500 courses. Now given the student name lists of all the courses, you are supposed to output the registered course list for each student who comes for a query. Input Specification: Each input file cont原创 2021-02-04 11:11:19 · 66 阅读 · 0 评论