摘要: 阿里后端笔试之元素个数 -- 2021/04/02 - 凌宸1642 题目描述: 小明现在有一个长度为 N 的不递减序列,你可以操作任意次,每一次操作可以让某一个位置上的数加 1,但每个位置的数最多只能操作一次,通过这个操作,能让新产生的序列中有多少个不同的数。 输入描述: 第一行代表 T 组测试数 阅读全文
posted @ 2021-04-03 22:01 凌宸1642 阅读(94) 评论(0) 推荐(1)
摘要: PAT (Advanced Level) Practice 1035 Password (20 分) 凌宸1642 题目描述: To prepare for PAT, the judge sometimes has to generate random passwords for the users 阅读全文
posted @ 2021-04-03 14:33 凌宸1642 阅读(70) 评论(0) 推荐(1)
摘要: PAT (Advanced Level) Practice 1031 Hello World for U (20 分) 凌宸1642 题目描述: Given any string of N (≥5) characters, you are asked to form the characters i 阅读全文
posted @ 2021-04-03 14:30 凌宸1642 阅读(67) 评论(0) 推荐(0)