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

【PAT甲级 - C++题解】1117 Eddington Number

1117 Eddington NumberBritish astronomer Eddington liked to ride a bike. It is said that in order to show off his skill, he has even defined an “Eddington number”, E – that is, the maximum integer E s....

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

【PAT甲级 - C++题解】1038 Recover the Smallest Number

1038 Recover the Smallest NumberGiven a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we can recover many n....

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

【PAT甲级 - C++题解】1144 The Missing Number

1144 The Missing NumberGiven N integers, you are supposed to find the smallest positive integer that is NOT in the given list.Input Specification:Each input file contains one test case. For each case....

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

【PAT甲级 - C++题解】1104 Sum of Number Segments

1104 Sum of Number SegmentsGiven a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the sequence { 0.1, 0.2, 0.3, 0.4 }, we have 10 segments: (0.....

【PAT甲级 - C++题解】1104 Sum of Number Segments
文章 2023-06-17 来自:开发者社区

【PAT甲级 - C++题解】1024 Palindromic Number

1024 Palindromic NumberA number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 1234321 is a palindromic number. All single digit numbers....

文章 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....

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

开发与运维

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

+关注
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等