TWF
摘要: PTA 自测-4 Have Fun with Numbers 题目描述 Notice that the number 123456789 is a 9-digit number consisting exactly the numbers from 1 to 9, with no duplicati 阅读全文
posted @ 2020-07-02 23:05 fsh001 阅读(229) 评论(0) 推荐(0)
摘要: PTA 自测-3 数组元素循环右移问题 题目描述 一个数组A中存有N(>0)个整数,在不允许使用另外数组的前提下,将每个整数循环向右移M(≥0)个位置,即将A中的数据由(A​0​​A​1​​⋯A​N−1​​)变换为(A​N−M​​⋯A​N−1​​A​0​​A​1​​⋯A​N−M−1​​)(最后M个数 阅读全文
posted @ 2020-07-02 20:57 fsh001 阅读(271) 评论(0) 推荐(0)