文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1002 A+B for Polynomials

1002 A+B for PolynomialsThis time, you are supposed to find A+B where A and B are two polynomials.Input Specification:Output Specification:For each test case you should output the sum of A and B in o....

【PAT甲级 - C++题解】1002 A+B for Polynomials
文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1153 Decode Registration Card of PAT

1153 Decode Registration Card of PATA registration card number of PAT consists of 4 parts:the 1st letter represents the test level, namely, T for the top level, A for advance and B for basic;the 2nd ....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1141 PAT Ranking of Institutions

1141 PAT Ranking of InstitutionsAfter each PAT, the PAT Center will announce the ranking of institutions based on their students’ performances. Now you are asked to generate the ranklist.Input Specif....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1124 Raffle for Weibo Followers

1124 Raffle for Weibo FollowersJohn got a full mark on PAT. He was so happy that he decided to hold a raffle(抽奖) for his followers on Weibo – that is, he would select winners from every N followers w....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1108 Finding Average

1108 Finding AverageThe basic task is simple: given N real numbers, you are supposed to calculate their average. But what makes it complicated is that some of the input numbers might not be legal. A ....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1084 Broken Keyboard

1084 Broken KeyboardOn a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on screen.Now given a string that ....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1082 Read Number in Chinese

1082 Read Number in Chinese给定一个不超过 99 位的整数,你应该用传统的中文方式阅读它.如果是负数,则先输出 Fu。例如,-123456789 读作 Fu yi Yi er Qian san Bai si Shi wu Wan liu Qian qi Bai ba Shi jiu。注意:零(ling)必须按照中国传统正确处理。例如,100800 读作 yi Shi W....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1077 Kuchiguse

1077 KuchiguseThe Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker’s personality. Such a prefer....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1073 Scientific Notation

1073 Scientific NotationScientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the regular expression [ + − ] [ 1 − 9 ] [+-][1-9][....

文章 2023-06-15 来自:开发者社区

【PAT甲级 - C++题解】1060 Are They Equal

1060 Are They EqualIf a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123×105 with simple chopping. Now given the....

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

开发与运维

集结各类场景实战经验,助你开发运维畅行无忧

+关注